CSV log file format

Post Reply
Jellono
Posts: 22
Joined: Fri Oct 23, 2015 4:18 am
Country: -

CSV log file format

Post by Jellono »

I have found that logging the Telemetry has a little bug in the Scailer output..

File: logs.cpp
Func: void writeLogs()


#ifdef BLUETOOTH
f_printf(&g_oLogFile, "%d.%d,", qr.quot, qr.rem ) ;
#else
f_printf(&g_oLogFile, "%d.%d\n", qr.quot, qr.rem ) ;
#endif

The newline on the else is causing the output to as you can imagine have a new line in it.

Mike, I can make the change, however have had no luck compiling mo own rom files and flashing them so I can't test any changes I would make, so I feel it would be bad for me to check in something I could not test.

Dave



Example:

Time,Elapsed,Valid,RxRSSI,TxRSSI,A1,A2,AltB,AltG,Temp1,Temp2,RPM,Amps,Volts,mAH,TxBat,Vspd,RxV,Lat,Long,Fuel,Gspd,SC1,SC2,SC3,SC4,SC5,SC6,SC7,SC8
22:49:13,0:12:53,32,87,76,0.0,0.0,0,0,28,0,0,0.0,12.4,0,7.4,0,0.0,100.0000N,100.0000E,0,0,0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
22:49:14,0:12:55,33,87,76,0.0,0.0,0,0,28,0,0,0.0,12.4,0,7.4,0,0.0,100.0000N,100.0000E,0,0,0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0

User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: CSV log file format

Post by MikeB »

Which hardware are you using? (9Xtreme?).
I should have this fixed, but need to know the firmware build you need.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Jellono
Posts: 22
Joined: Fri Oct 23, 2015 4:18 am
Country: -

Re: CSV log file format

Post by Jellono »

Mike

Yes I am on the 9Xtreme, DO I have an older build?

Vers: V.2886-Mike
Date: 12.11.2015
Time: 21:42:08
SVN: ersky9x-r218
MOD: 9XT

Dave
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: CSV log file format

Post by MikeB »

OK, try the one I've posted here today: viewtopic.php?f=126&t=7751#p103194.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Jellono
Posts: 22
Joined: Fri Oct 23, 2015 4:18 am
Country: -

Re: CSV log file format

Post by Jellono »

MikeB wrote:OK, try the one I've posted here today: viewtopic.php?f=126&t=7751#p103194.
Sorry for the testing delay It worked just fine thanks for the change.

Dave

Post Reply

Return to “PROGRAMMERS”