Update 2 Analysis program
37278 326 2018-4-25
Uploading and Loding Picture ...(0/1)
o(^-^)o
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

Axeli Posted at 2018-4-30 06:30
I have the same problem like G_Sig [view_image]

busy on this grrrr error...
2018-5-1
Use props
G_Sig
First Officer
Flight distance : 9109311 ft
Iceland
Offline

JJBspark Posted at 2018-5-1 01:28
busy on this grrrr error...

If I open the OPTION INI file without running the FRAP first its (HEDERS) look like this.
[HEADERS]
1=Secs
2=Time
3=LAT
4=LON
5=FlightMode
6=ALT
7=ALT VPS
8=Speed
9=HD
10=HomeLAT
If I run the FRAP it looks like this.
[HEADERS]
1=
2=
3=
4=
5=
6=
7=
8=
Is this normal?
2018-5-1
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

G_Sig Posted at 2018-5-1 04:09
If I open the OPTION INI file without running the FRAP first its (HEDERS) look like this.
[HEADERS]
1=Secs

nope, should not be empty. will look into that too
just donwload that ini file again and use that one.
2018-5-1
Use props
G_Sig
First Officer
Flight distance : 9109311 ft
Iceland
Offline

JJBspark Posted at 2018-5-1 04:40
nope, should not be empty. will look into that too
just donwload that ini file again and use that one.

It changes every time I run FRAP .
2018-5-1
Use props
DH_Pilot
Second Officer
Flight distance : 3301621 ft
  • >>>
Slovakia
Offline

Hi JJBspark,

Great stuff, thanks for sharing. Unfortunately download link is not working anymore will you be posting new version or so?

Thanks.
2018-5-1
Use props
G_Sig
First Officer
Flight distance : 9109311 ft
Iceland
Offline

JJBspark Posted at 2018-5-1 04:40
nope, should not be empty. will look into that too
just donwload that ini file again and use that one.

Have found the reason. If you open FRAP and the path for .TXT files is wrong [HEADERS] will bee empty.
If I edit the config file before running FRAP [HEADERS] is right.
Still having the grrr error.
I'm starting to think this is related to Windows 7 or virus program.
2018-5-1
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

G_Sig Posted at 2018-5-1 05:29
Have found the reason. If you open FRAP and the path for .TXT files is wrong [HEADERS] will bee empty.
If I edit the config file before running FRAP [HEADERS] is right.
Still having the grrr error.

thanks for that, now to find the reason why they become empty!
Grr error, what does the error say?
2018-5-1
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

DH_Pilot Posted at 2018-5-1 05:10
Hi JJBspark,

Great stuff, thanks for sharing. Unfortunately download link is not working anymore will you be posting new version or so?

yes, i wil. Hope end of this week
2018-5-1
Use props
G_Sig
First Officer
Flight distance : 9109311 ft
Iceland
Offline

JJBspark Posted at 2018-5-1 06:01
thanks for that, now to find the reason why they become empty!
Grr error, what does the error say?

The old error.
2018-5-1
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline


Hi G-Sig, if you did open the CSV file with excel it mayby got corrupted. Try to delete the CSV and open the TXT file in the program. (use the latest version of the conversion tool).

I will PM you a link to exe with kind of debugging written into that, when ypu get the file tell me the code bottem left on the screen. Just need to know when in the programm this error pops up. (and wich txt file you use, or does this error is always there?)

cheers JJB
2018-5-1
Use props
Rawsome
Second Officer
Flight distance : 230827 ft
  • >>>
Canada
Offline

great work right there! thank you for sharing!
2018-5-1
Use props
eried
Second Officer
Flight distance : 661362 ft
Norway
Offline

The new version works perfect with some files that gave me "not valid floating point value". I think this tool has potential to become the de-facto Windows analyzer, I do not really like to a lot relays on the online phantomhelp one.

Major suggestions
  • Resizable window
  • Battery cell micro voltage analysis
  • Retrieve weather info/wind or other info from an external server for the analisis into a new column
  • Plugins/scripting


Minor suggestions
  • Hi DPI support
  • Customizable UI panels
  • Pretty main icon/toolbar icons
  • Non modal dialogs

Open to discussion
  • Normal file selection File/Open Log..., instead of having 3 paths and a file selector
  • Export functions (grid values, plots, etc), maybe with uploads to Google docs/Onedrive for sharing?

I do not know delphi but I can help with some stuff


2018-5-1
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

eried Posted at 2018-5-1 14:55
The new version works perfect with some files that gave me "not valid floating point value". I think this tool has potential to become the de-facto Windows analyzer, I do not really like to a lot relays on the online phantomhelp one.

Major suggestions

Hi eried, thanks for your info. If some files gives that error it means that some file are not correctly converted. I had once a file where the city name and region was divided with a extra comma, so all the fields after that specific field were wrongly read.

Can you sent me a file wich gives this error? (so i can get a error-work-around procedure to 'loose' this error)

If i have time mayby some suggestion will be written into the program.

cheers
JJB
2018-5-1
Use props
HedgeTrimmer
First Officer
United States
Offline

JJBspark Posted at 2018-5-1 22:51
Hi eried, thanks for your info. If some files gives that error it means that some file are not correctly converted. I had once a file where the city name and region was divided with a extra comma, so all the fields after that specific field were wrongly read.

Can you sent me a file wich gives this error? (so i can get a error-work-around procedure to 'loose' this error)

You are doing a great job.  

From what I have read about Flight Logs (.txt) file, there are numerous unknowns.   Making it hard to write programs that extract important information.  It is to bad DJI's is playing its cards so close to vest.  

2018-5-1
Use props
eried
Second Officer
Flight distance : 661362 ft
Denmark
Offline

JJBspark Posted at 2018-5-1 22:51
Hi eried, thanks for your info. If some files gives that error it means that some file are not correctly converted. I had once a file where the city name and region was divided with a extra comma, so all the fields after that specific field were wrongly read.

Can you sent me a file wich gives this error? (so i can get a error-work-around procedure to 'loose' this error)

The error does not appear in the latest version I will send you any broken file, if any
2018-5-1
Use props
Bokepacha
lvl.4
Flight distance : 149265 ft
Offline

LInk is not working anymore?
2018-5-2
Use props
G_Sig
First Officer
Flight distance : 9109311 ft
Iceland
Offline

JJBspark Posted at 2018-5-1 09:53
Hi G-Sig, if you did open the CSV file with excel it mayby got corrupted. Try to delete the CSV and open the TXT file in the program. (use the latest version of the conversion tool).

I will PM you a link to exe with kind of debugging written into that, when ypu get the file tell me the code bottem left on the screen. Just need to know when in the programm this error pops up. (and wich txt file you use, or does this error is always there?)

Sorry for late respond.
I have deleted the .CSV files and always the same error. Will PM you Dropbox link to the CSV  files later.
2018-5-2
Use props
marklyn59
lvl.4
Flight distance : 395072 ft
United States
Offline

The download link seems to be bad.
2018-5-2
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

G_Sig Posted at 2018-5-2 16:15
Sorry for late respond.
I have deleted the .CSV files and always the same error. Will PM you Dropbox link to the CSV  files later.

HI G-Sig, thanks for the csv files. I know now what the problem is ; flightrecords files P4 prof have a different sequence format than the Spark and MA. Meaning that the data is converted and sorted in different columns than where i look for.....ofcourse this will result in many errors!
If the data is the same but only in different order than its possible to adjust my program, have to look into that.

So for now, Spark and MA does work, mayby other Types (mavic pro works as well i think) but not a P4P.
Update program tomorrow on here

UPDATE see my last post!

Cheers JJB
2018-5-3
Use props
Axeli
Second Officer
Flight distance : 339416 ft
Czechia
Offline

Weird, I have the same problem like G_Sig with MA
2018-5-3
Use props
Vidjcb
First Officer
Flight distance : 13649508 ft
  • >>>
United States
Offline

Thanks a lot! I really appreciate it!
2018-5-3
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

Axeli Posted at 2018-5-3 02:44
Weird, I have the same problem like G_Sig with MA

Thanks Axeli, you made my day!

The conversing tool has been updated ; 2 more columns now in the CSV file. So people who use the older vesion has no problem, people who use the latest version gets lots of errors.

Problem solved. (my update programm will use the latest tool).

Cheers
JJB
2018-5-3
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

Hi all,

See post # 1 for link update version.

cheers
JJB
2018-5-4
Use props
G_Sig
First Officer
Flight distance : 9109311 ft
Iceland
Offline

JJBspark Posted at 2018-5-4 11:57
Hi all,

See post # 1 for link update version.

Perfect look like it work on all drones TXT files. Have tested on P3S , MP, MA and P4.
Great job JJB.
Thanks
From my old P3S
2018-5-4
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

Hi G-Sig, thanks for testing on all your drones. A happy person here now!
Cheers
JJB
2018-5-4
Use props
Rob.01A
Second Officer
Flight distance : 128888 ft
Netherlands
Offline

Works also for me with my MA thanks for sharing JJB.

Rob
2018-5-4
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

Rob.01A Posted at 2018-5-4 23:52
Works also for me with my MA thanks for sharing JJB.

Rob

Thanks, have fun with my program. I did learn alot about the behaviour of my Spark and MA.
2018-5-5
Use props
Axeli
Second Officer
Flight distance : 339416 ft
Czechia
Offline

Works with MA, thank you
2018-5-5
Use props
G_Sig
First Officer
Flight distance : 9109311 ft
Iceland
Offline

JJBspark Posted at 2018-5-4 23:43
Hi G-Sig, thanks for testing on all your drones. A happy person here now!
Cheers
JJB

Was testing more records and found that the oldest flight log from P3S don't open do to other format.
If that happen its best to open it in Phantomhelp and save it again then it work.
Have not yet found record which you cant open in this.

My first and only crass.

Old P3S record from 2016.
2018-5-5
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

Hi,
Sounds good.
Actually this program was made for Spark and Mavic Air as i own both. (easy testing on your own flightrecords).
Any other DJI type wich works is a bonus to read.
cheers JJB
2018-5-5
Use props
fans19af0a0b
lvl.2
Flight distance : 77615 ft
United States
Offline

Hello JJB -

THank you for providing this useful application.  I am having trouble running it on a Windows 10 system.  Using FRAP version 4-May-2018, when I try to open a flight record from a Mavic Air, I get the following error dialog box.



I have tried renaming it without special characters, same error message.
TXTlogToCSVtool.exe version 2018/04/21 is in the same directory as FRAP.exe (confirmed present in Options->Configuration).
It successfully converts the FlightRecord.txt file if I do it manually.

What am I doing wrong?  I can provide the original .txt and converted .csv if needed.  
Thanks for any help.
2018-5-29
Use props
eried
Second Officer
Flight distance : 661362 ft
Denmark
Offline

fans19af0a0b Posted at 2018-5-29 03:30
Hello JJB -

THank you for providing this useful application.  I am having trouble running it on a Windows 10 system.  Using FRAP version 4-May-2018, when I try to open a flight record from a Mavic Air, I get the following error dialog box.

Rename the csv to something simple, like flight.csv
2018-5-29
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

fans19af0a0b Posted at 2018-5-29 03:30
Hello JJB -

THank you for providing this useful application.  I am having trouble running it on a Windows 10 system.  Using FRAP version 4-May-2018, when I try to open a flight record from a Mavic Air, I get the following error dialog box.

Hi,

Mayby its a known error for me, if the txt file is in a directory not close to the root this can cause this error.
This error originates from the conversion tool.

if so, try to put your flightrecord closer to the root. i.e. x:\txtfiles\flightrecord.txt....

cheers
JJB
2018-5-29
Use props
gofaster
lvl.2
Flight distance : 77615 ft
United States
Offline

JJBspark Posted at 2018-5-29 03:57
Hi,

Mayby its a known error for me, if the txt file is in a directory not close to the root this can cause this error.

Moving the txt files to a directory off the root was indeed the correct solution.  Thanks!
2018-5-29
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

gofaster Posted at 2018-5-29 04:25
Moving the txt files to a directory off the root was indeed the correct solution.  Thanks!

yep, its corrected in version 3.1. (guess next week an update)
2018-5-29
Use props
QuadKid
First Officer
Flight distance : 482349 ft
United States
Offline

JJBspark Posted at 2018-5-29 04:42
yep, its corrected in version 3.1. (guess next week an update)

Hey JJB, last time we spoke you asked if we had any suggestions for the next update. IMO I think if there was a scrollable horizontal bar/line when reading 4x graphs to line up peaks/valleys with the reference numbers on the side of the graph(s) would be useful. Don't know if this is a lot of work definitely not necessary but more of a luxury. Thanks for you ongoing contribution !!
2018-5-29
Use props
HedgeTrimmer
First Officer
United States
Offline

JJBspark Posted at 2018-4-30 02:45
No problems here with loading your file....(hmm, what is the problem...)
Edited:  Never mind.  Looks like you solved problem.  Thought I saw another case, after update.

Any chance your program has a library call that is picking up on localized (country) settings of Windows comptuer system or Windows user account?

In this case picking up on number format differences.  1.234.567,89 vs. 1,234,567.89
2018-5-29
Use props
Free2be
lvl.3
Flight distance : 229570 ft
Offline

Thanks for the good work, JJBspark, I have saved them, when I go to a windows machine! (Mac user).
2018-5-29
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

QuadKid Posted at 2018-5-29 04:53
Hey JJB, last time we spoke you asked if we had any suggestions for the next update. IMO I think if there was a scrollable horizontal bar/line when reading 4x graphs to line up peaks/valleys with the reference numbers on the side of the graph(s) would be useful. Don't know if this is a lot of work definitely not necessary but more of a luxury. Thanks for you ongoing contribution !!

Not sure if a moving line peak values is possible, if yes than mayby if i have time.
2018-5-29
Use props
JJBspark
Core User of DJI
Flight distance : 12225059 ft
  • >>>
Netherlands
Offline

HedgeTrimmer Posted at 2018-5-29 05:02
Edited:  Never mind.  Looks like you solved problem.  Thought I saw another case, after update.

Any chance your program has a library call that is picking up on localized (country) settings of Windows comptuer system or Windows user account?

Yes, well its hard-coded now, so user can choose now if a comma or dot is used.
2018-5-29
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules