Suitable file format for Megalogviewer HD

Questions specific to Megalogviewer

Moderator: LT401Vette

Suitable file format for Megalogviewer HD

Postby carl0s » Wed Nov 08, 2017 5:38 pm

Hi.
I'm putting together a little arduino style thing (Adafruit Feather m0 running CircuitPython) to datalog a Zeitronix wideband, and an OBD2 adapter.
It's for my bmw k1300s motorbike.

Just wondering, what would be the most suitable text based logfile format? Can I get any info on how to lay out a csv optimally for Megalogviewer HD ?

My output currently looks like:

158.515,0,1,2,148,200,0,0,0,255,128,22,159,254,255

158.535,0,1,2,147,200,0,0,0,255,128,22,159,254,255

158.554,0,1,2,148,200,0,0,0,255,128,22,159,254,255

(where the first field is time since power-on, and the subsequent fields are the Zeitronix serial packet, i.e 0, 1, 2, then AFR, then other sensors which i will not be using anyway, as I will use OBD2 instead

when I hook up the OBD, I will have alternate lines of Zeitronix data, and OBD data. So I am expecting something like, e.g.:

time,zt-field1,zt-field2,zt-field3,zt-field4,zt-field5
time,obd-field1,obd-field2,odb-field3,obd-field4

etc.

I suppose I don't have to do it that way. i can get the data in my program, then just spit out the time and combine the data on one line..

Any recommendations for making it easy to manage the data in Megalogviewer HD ? Just CSV with the field names at the top, or something else?

Thanks,
Carl
carl0s
MS/Extra Newbie
 
Posts: 1
Joined: Wed Nov 08, 2017 5:23 pm

Re: Suitable file format for Megalogviewer HD

Postby LT401Vette » Thu Nov 09, 2017 2:47 pm

This forum is only for MegaSquirt support.

email support@efianalytics.com for other applications.

csv as you have it is fine.
optionally put 2 rows, 1st names, 2nd units.

MLV loads many formats, it is good at figuring it out.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10409
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC


Return to Megalogviewer

Who is online

Users browsing this forum: No registered users and 2 guests