Understanding burstmode
Posted: Sun Jul 30, 2006 9:41 am
Not real sure where to post this but I am trying to understand burstmode.
I am using MSII v2.33 and megatune 2.25.
I am trying to setup a piece of logging software(not ms related) to decode the MSII data stream so I can add some MS data to the master log. Looking at the comm.log of megatune I see the gauges are using burst mode. I think I have all the data needed to complete my project just a lack of understanding.
I'm sending a oo 06 to MS and receiving a 112 byte block back. So far so good.
I'm trying to extract-
RPM
MAP
AFR
CTS
TPS
spark advance
From the Megatune v2.33 ini file I see the information I need, but I am a little confused.
Example-
rpm = scalar, U16, 6, "RPM", 1.000, 0.0
advance = scalar, S16, 8, "deg", 0.100, 0.0
RPM = scaler??
U16 = unsigned 16bit int
6 = byte 6 MSB
byte 7 LSB
1.000??
0.0??
bytes 6,7 * 1.000 - 0.0 == RPM??
advance = scalar??
S16 = signed 16bit int
8 = byte 8 MSB
byte 9 LSB
bytes 8,9 * .100 - 0.0 == ignition advance??
I've searched the archives several time and found much data on the vaious comm strings but still don't have a great understanding of the different datablocks. I use megatune for most of my tuning, works great.
I am just trying to combine MS data with some chassis stuff.
All comments welcome, thanks to anyone willing-
Joe
I am using MSII v2.33 and megatune 2.25.
I am trying to setup a piece of logging software(not ms related) to decode the MSII data stream so I can add some MS data to the master log. Looking at the comm.log of megatune I see the gauges are using burst mode. I think I have all the data needed to complete my project just a lack of understanding.
I'm sending a oo 06 to MS and receiving a 112 byte block back. So far so good.
I'm trying to extract-
RPM
MAP
AFR
CTS
TPS
spark advance
From the Megatune v2.33 ini file I see the information I need, but I am a little confused.
Example-
rpm = scalar, U16, 6, "RPM", 1.000, 0.0
advance = scalar, S16, 8, "deg", 0.100, 0.0
RPM = scaler??
U16 = unsigned 16bit int
6 = byte 6 MSB
byte 7 LSB
1.000??
0.0??
bytes 6,7 * 1.000 - 0.0 == RPM??
advance = scalar??
S16 = signed 16bit int
8 = byte 8 MSB
byte 9 LSB
bytes 8,9 * .100 - 0.0 == ignition advance??
I've searched the archives several time and found much data on the vaious comm strings but still don't have a great understanding of the different datablocks. I use megatune for most of my tuning, works great.
I am just trying to combine MS data with some chassis stuff.
All comments welcome, thanks to anyone willing-
Joe