Page 1 of 1

CSV log file format

Posted: Thu Dec 17, 2015 5:16 pm
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

Re: CSV log file format

Posted: Sun Dec 20, 2015 2:45 pm
by MikeB
Which hardware are you using? (9Xtreme?).
I should have this fixed, but need to know the firmware build you need.

Mike.

Re: CSV log file format

Posted: Sun Dec 20, 2015 3:29 pm
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

Re: CSV log file format

Posted: Sun Dec 20, 2015 5:25 pm
by MikeB
OK, try the one I've posted here today: viewtopic.php?f=126&t=7751#p103194.

Mike.

Re: CSV log file format

Posted: Mon Jan 04, 2016 2:07 pm
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