MDL? what the heck is that?
Moderators: jsmcortina, muythaibxr
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
MDL? what the heck is that?
So, what format is the MDL in and do you plan to publish this so that other people can read them etc?
Is it in some Java byte/object raw format?
G
Is it in some Java byte/object raw format?
G
Mazda MX5 + MS3 Pro
Re: MDL? what the heck is that?
It's a compact raw format. The reason I did this was to optimise the performance of MSDroid's internal log viewer. It quite literally is MSL but in compact format. But it's fully processed data, not raw output channel data.
We could publish the specification, but to be honest the idea is that you use the export to MSL function if you want to export it anyway, so really the internal representation used shouldn't be a concern. One thing we've realised though is that having to export rather than being able to quickly grab them off the SD is a pain. Therefore Dave and Seb have worked on some changes ready for a next release which will make life a heck of a lot easier, which will be revealed when tidied up and fully tested.
We could publish the specification, but to be honest the idea is that you use the export to MSL function if you want to export it anyway, so really the internal representation used shouldn't be a concern. One thing we've realised though is that having to export rather than being able to quickly grab them off the SD is a pain. Therefore Dave and Seb have worked on some changes ready for a next release which will make life a heck of a lot easier, which will be revealed when tidied up and fully tested.
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: MDL? what the heck is that?
That doesn't make sense - the raw output channel is already in a compact raw format. Sounds like you've processed it, and then stored it again in a different format without the MSL CSV style "," delineated formatting - by the look of the size and what's being stored in the file, it looks like raw byte code without the delineations. I'm finding that annoying as I can easily get to the SD via DropBox, but considering you log in this non-std format, I now have to use the "email to DropBox" and have that extra conversion/export step to get it back into MSL.Trev16v wrote:It's a compact raw format. The reason I did this was to optimise the performance of MSDroid's internal log viewer. It quite literally is MSL but in compact format. But it's fully processed data, not raw output channel data.
Will be interested to see what Dave/Seb come up with....
G
Mazda MX5 + MS3 Pro
Re: MDL? what the heck is that?
My first response (hastily written on phone) wasn't clear, perhaps because by 'raw' I'm referring to the fact that the data is written in binary format, rather than writing 'raw' output channel data.
So to be clear, the format is as you correctly describe. The MDL format writes the data in processed form, not in raw output channel form as it's read from the ECU. Therefore it's exactly as you'd find in an MSL. But the difference is it's written in binary format, as opposed to being printed to file as formatted human-readable strings.
It'll be far easier to grab MSL logs from it very shortly.
So to be clear, the format is as you correctly describe. The MDL format writes the data in processed form, not in raw output channel form as it's read from the ECU. Therefore it's exactly as you'd find in an MSL. But the difference is it's written in binary format, as opposed to being printed to file as formatted human-readable strings.
It'll be far easier to grab MSL logs from it very shortly.
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: MDL? what the heck is that?
Yay!Trev16v wrote:It'll be far easier to grab MSL logs from it very shortly.
Mazda MX5 + MS3 Pro
-
- Super MS/Extra'er
- Posts: 1681
- Joined: Tue Oct 27, 2009 6:24 am
- Location: Van Alstyne, Texas
Re: MDL? what the heck is that?
How do you convert them at the moment?
I could swear I previously converted the logs, but I guess I have slept since then.
Still working great om Android 4.22 on my thinkpad, plugged in via usb to the ms3 (std ftdi serial port)
Somewhat OT: Does turning on "CAN_COMMANDS" ~double the data rate on msdroid like it does on TS?
(only a subset of used fields are in the payload, rather than the full set of data, only useful when not logging, but VEAL really likes data at a 2X rate)
I could swear I previously converted the logs, but I guess I have slept since then.
Still working great om Android 4.22 on my thinkpad, plugged in via usb to the ms3 (std ftdi serial port)
Somewhat OT: Does turning on "CAN_COMMANDS" ~double the data rate on msdroid like it does on TS?
(only a subset of used fields are in the payload, rather than the full set of data, only useful when not logging, but VEAL really likes data at a 2X rate)
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: MDL? what the heck is that?
This is similar (in a really poor unexpected way) to something that MoTeC have in their ECUs - you can specify which items to log, so that if you only need RPM, MAP and AFR then you get really, really fast logging data rates as you are only send a handful of bytes.piledriver wrote: Does turning on "CAN_COMMANDS" ~double the data rate on msdroid like it does on TS?
G
Mazda MX5 + MS3 Pro
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MDL? what the heck is that?
Explain why it makes you upset? Or ask Phil why he did it?gslender wrote:This is similar (in a really poor unexpected way)piledriver wrote: Does turning on "CAN_COMMANDS" ~double the data rate on msdroid like it does on TS?
G
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
MDL? what the heck is that?
Nah, I'm saying this is good. But the MoTeC solution is better.
Mazda MX5 + MS3 Pro
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: MDL? what the heck is that?
I didn't know that Motec did that. It has been on my TODO list for a while, but it isn't trivial.
I mentioned to Phil that 'he could do it already' using the full serial commands instead of 'A' and that's what recent TS betas do.
James
I mentioned to Phil that 'he could do it already' using the full serial commands instead of 'A' and that's what recent TS betas do.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: MDL? what the heck is that?
Selecting the logged fields and getting faster data rate was actually the point... It just doesn't have the field selection dialog yet.gslender wrote:Nah, I'm saying this is good. But the MoTeC solution is better.
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
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
-
- Super MS/Extra'er
- Posts: 1681
- Joined: Tue Oct 27, 2009 6:24 am
- Location: Van Alstyne, Texas
Re: MDL? what the heck is that?
I consider it a great feature already, and it's easy enough to turn on/off to access the sdcard menus.
The SDcard actually still works normally, you just cant get at it with CAN_COMMANDS on..
(not sure why that is, but that's life at the moment.)
The SDcard actually still works normally, you just cant get at it with CAN_COMMANDS on..
(not sure why that is, but that's life at the moment.)
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: MDL? what the heck is that?
The next alpha release of MS3 and TS handles this differently so you can always use SD download if attached by serial, then CAN_COMMANDS can be left on, or defaulted to on.I consider it a great feature already, and it's easy enough to turn on/off to access the sdcard menus.
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
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
-
- Super MS/Extra'er
- Posts: 1681
- Joined: Tue Oct 27, 2009 6:24 am
- Location: Van Alstyne, Texas
Re: MDL? what the heck is that?
Cool.LT401Vette wrote:The next alpha release of MS3 and TS handles this differently so you can always use SD download if attached by serial, then CAN_COMMANDS can be left on, or defaulted to on.I consider it a great feature already, and it's easy enough to turn on/off to access the sdcard menus.
Any chance Shadowdash will get serial support as well?
The only "Android" device I actually use is my Thinkpad tablet.
BT not working on Android-x86 at the moment.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: MDL? what the heck is that?
Yes, I just did that a couple days ago, it was quite easy to implement. I have just been tied up with TS and MLV for the past few months.Any chance Shadowdash will get serial support as well?
A new SD should be released soon so it support the latest MS3 alpha properly.
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
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
-
- Super MS/Extra'er
- Posts: 1681
- Joined: Tue Oct 27, 2009 6:24 am
- Location: Van Alstyne, Texas
Re: MDL? what the heck is that?
LT401Vette wrote:Yes, I just did that a couple days ago, it was quite easy to implement. I have just been tied up with TS and MLV for the past few months.Any chance Shadowdash will get serial support as well?
A new SD should be released soon so it support the latest MS3 alpha properly.
Cool, looking forward to being able to see how it looks on a 12.1" tablet .
Trev, how DO you convert the .mdl file for MLV?
I know I did it trivially awhile back but I cannot recall how, must be oldtimers.
Is the export function built into msdroid?
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
Re: MDL? what the heck is that?
MSDroid has an export to MSL function, which has been in there for a few months now I think.
Things will be a heck of a lot easier in a next release though.
Things will be a heck of a lot easier in a next release though.
-
- Super MS/Extra'er
- Posts: 12733
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: MDL? what the heck is that?
I haven't looked at an the mdl format, but I'm sure I could make MLV load it direct. It already supports 100's of file formats, ASCII and Binary.
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
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
Re: MDL? what the heck is that?
That would be good, Phil - it's essentially just the standard .msl but with quite a lot of extra header fields and the values are all written directly as floats, etc. rather than printed as readable formatted strings.
However, I would actually feel a bit bad about introducing yet another format for users to deal with. The way we're trying to go with things now is to retain .mdl as an internal fast format but make it easier for users to have .msl on their PC ready to load into MLV without having to deal with exporting and so forth. So essentially .mdl would remain an internal implementation detail more than anything. It's good to be able to support MegaLogViewer using an existing established format I think.
However, I would actually feel a bit bad about introducing yet another format for users to deal with. The way we're trying to go with things now is to retain .mdl as an internal fast format but make it easier for users to have .msl on their PC ready to load into MLV without having to deal with exporting and so forth. So essentially .mdl would remain an internal implementation detail more than anything. It's good to be able to support MegaLogViewer using an existing established format I think.