RAX Fast Logging
Well I can grab the 4 x 8 byte packages with standalone logging and I've just about gotten them all converted into readable data but it looks like standalone logging is capped at 10 rows per second so it's really only useful if you want to log a lot of items that would normally slow it down without this patch
If that makes any sense to anyone
If that makes any sense to anyone
We can do better than 10 lines a second... try this...
That will align the standalone logging optimisations with my default EvoScan XML.
Rich
Code:
paramname=RAX_A paramid=0x8051AC databits=32 scalingrpn=x sampgroup=1 paramname=RAX_B paramid=0x8051A8 databits=32 scalingrpn=x paramname=RAX_C paramid=0x8051B0 databits=32 scalingrpn=x paramname=RAX_D paramid=0x8051B4 databits=32 scalingrpn=x sampgroup=2 paramname=RAX_E paramid=0x8051B8 databits=32 scalingrpn=x sampgroup=2 paramname=RAX_F paramid=0x8051BC databits=32 scalingrpn=x sampgroup=1 paramname=RAX_G paramid=0x8051C0 databits=32 scalingrpn=x sampgroup=1 paramname=RAX_H paramid=0x8051C4 databits=32 scalingrpn=x
Rich
Buy a serial-USB adapter. EvoScan should be able to read the wideband feed that way.
Rich
Bummer, I was hoping for an easy way to switch back and forth between standalone and evoscan. My wideband output cable is just the 2.5mm plug but I could probably find another cable to convert it to a db9 and then to usb, but in the mean time I'm trying to get my standalone converter working. It's almost there I'm just having some trouble figuring out the bit order. I'm guessing the BITS(32,8) formula in evoscan means either the lower most 8 bits or the highest 8 bits, but neither way is really working out for me yet
Last edited by TravisF; Dec 1, 2012 at 11:11 PM.
BITS(32,8) gives you the 8 most significant bits, so if the 4-byte package was 0x12345678, you'd want to end up with 0x12.
The easiest way to check is to look at RAX_F_Dat. The top 8 bits are TPS, 0-255 value. You can sit with ignition ON but engine OFF. The OP2.0 will log standalone when ignition is on, as long as it's not plugged into a laptop via USB. Go from zero throttle to full throttle a few times while logging your non-running motor, then grab the log, process, review.
One thing to watch is "signed" vs. "unsigned" in the 4-byte package read. The above test should reveal all, as the top bit will be 1 at WOT.
Rich
The easiest way to check is to look at RAX_F_Dat. The top 8 bits are TPS, 0-255 value. You can sit with ignition ON but engine OFF. The OP2.0 will log standalone when ignition is on, as long as it's not plugged into a laptop via USB. Go from zero throttle to full throttle a few times while logging your non-running motor, then grab the log, process, review.
One thing to watch is "signed" vs. "unsigned" in the 4-byte package read. The above test should reveal all, as the top bit will be 1 at WOT.
Rich
BITS(32,8) gives you the 8 most significant bits, so if the 4-byte package was 0x12345678, you'd want to end up with 0x12.
The easiest way to check is to look at RAX_F_Dat. The top 8 bits are TPS, 0-255 value. You can sit with ignition ON but engine OFF. The OP2.0 will log standalone when ignition is on, as long as it's not plugged into a laptop via USB. Go from zero throttle to full throttle a few times while logging your non-running motor, then grab the log, process, review.
One thing to watch is "signed" vs. "unsigned" in the 4-byte package read. The above test should reveal all, as the top bit will be 1 at WOT.
Rich
The easiest way to check is to look at RAX_F_Dat. The top 8 bits are TPS, 0-255 value. You can sit with ignition ON but engine OFF. The OP2.0 will log standalone when ignition is on, as long as it's not plugged into a laptop via USB. Go from zero throttle to full throttle a few times while logging your non-running motor, then grab the log, process, review.
One thing to watch is "signed" vs. "unsigned" in the 4-byte package read. The above test should reveal all, as the top bit will be 1 at WOT.
Rich

I added the sampgroup lines you posted and I got it up to about 14 lines a second. Still not quite as fast as evoscan
Cool - good luck. Hope the 4-byte data is usable!
If it is, perhaps you could look at a way to add a ".rax" type to Windows file type, and associate your tool with it. Then, all we'd need to do would be to rename (say) "log0001.csv" to "log0001.rax", and then double-click on it. The tool could then run, and generate "log0001.csv" again... in readable format.
Just an idea.
Also, see if you can generate all of the "LogEntryDate", "LogEntryTime" and "LogEntrySeconds" items favoured by EvoScan graph reader... and maybe a dummy "Custom" item at the very end.
We can then load the output into ES, and it will all work as if it had logged it.
All the processed variable names would need to be exactly the same, I think.
Interested to see how you get on...
Rich
If it is, perhaps you could look at a way to add a ".rax" type to Windows file type, and associate your tool with it. Then, all we'd need to do would be to rename (say) "log0001.csv" to "log0001.rax", and then double-click on it. The tool could then run, and generate "log0001.csv" again... in readable format.
Just an idea.
Also, see if you can generate all of the "LogEntryDate", "LogEntryTime" and "LogEntrySeconds" items favoured by EvoScan graph reader... and maybe a dummy "Custom" item at the very end.
We can then load the output into ES, and it will all work as if it had logged it.
All the processed variable names would need to be exactly the same, I think.
Interested to see how you get on...
Rich
One step at a time! 
If my new formula works tonight I will post a screenshot of what I have so far. I only picked out about 8 parameters to convert from packages but if they work it's only a matter of adding in the conversions for the rest, and then outputting everything either in another file or on screen that can be copy/pasted into excel

If my new formula works tonight I will post a screenshot of what I have so far. I only picked out about 8 parameters to convert from packages but if they work it's only a matter of adding in the conversions for the rest, and then outputting everything either in another file or on screen that can be copy/pasted into excel

Success! RPM and knock are screwed up but everything else looks good I think. Is there something different about RAX_C? It seems to be the only one that's not converting correctly
Last edited by TravisF; Dec 3, 2012 at 06:10 PM.

I read map and baro just fine from RAX_D and it has the values split up in 9, 7, and 8 bit chunks
It could be OP2.0 can't properly read 32-bit values, full range.
Try test-reading it as two 16-bit values, and review the data.
If you have to do all of it as 2-byte "packages", you'll get around 6-7 lines a second for total data coverage. Not really brilliant, but not so bad for 24/7 logging of absolutely everything.
Rich
Try test-reading it as two 16-bit values, and review the data.
If you have to do all of it as 2-byte "packages", you'll get around 6-7 lines a second for total data coverage. Not really brilliant, but not so bad for 24/7 logging of absolutely everything.
Rich
It could be OP2.0 can't properly read 32-bit values, full range.
Try test-reading it as two 16-bit values, and review the data.
If you have to do all of it as 2-byte "packages", you'll get around 6-7 lines a second for total data coverage. Not really brilliant, but not so bad for 24/7 logging of absolutely everything.
Rich
Try test-reading it as two 16-bit values, and review the data.
If you have to do all of it as 2-byte "packages", you'll get around 6-7 lines a second for total data coverage. Not really brilliant, but not so bad for 24/7 logging of absolutely everything.
Rich
Everything should be unsigned, right? I shouldn't get any negatives until after the scaling formulas



