Notices

RAX Fast Logging

Thread Tools
 
Search this Thread
 
Old Nov 29, 2012, 04:57 AM
  #1  
Evolved Member
Thread Starter
 
richardjh's Avatar
 
Join Date: Oct 2010
Location: Australia
Posts: 2,447
Received 14 Likes on 13 Posts
Lightbulb RAX Fast Logging

RAX Fast Logging

Yes, Christmas comes early in 2012!


I've written a ROM patch that allows you to log 30+ data items at a usable rate.

You can log directly via EVOSCAN - Version 2.9 Revision 0023 (or later).

BIG thanks to:
  • Hamish: for developing the EvoScan support for RAX Fast Logging.
  • Golden: for his invaluable expertise on the subject of ECU variables.
  • Those ECU guru types who ferreted out our ECU functionality in the first place. You know who you are.



GET RAX PATCH HERE - Now includes RAX Fast Logging!



The Patch
This uses a "packaged data" approach. On a patched ROM, the new RAX Fast Logging code will bundle up some 32 discrete data items into a 32-byte block of memory. That data can then be bulk-read by a compatible client.

This gets you faster logging, because one "read" operation delivers multiple items.


The Logging Client
EvoScan 2.9.0023 has been given the ability to extract bit-wise data from larger blocks. It requests 4 bytes at a time, then extracts 4 items from each package.

This version of EvoScan now comes with a new “RAX Fast Logging” selection, chosen via the “Select ECU” dropdown box. You simply select it… and start logging from any RAX-enabled ROM.




Logging Speed
RAX Fast Logging + EvoScan will boost logging speed by a factor of 4.

To further optimise things, the default EvoScan configuration for RAX Fast Logging has some "Priority" tweaks, designed to prioritise some data items over others. With this default setup, you should see up to 20 lines of data per second. Note that some data items will only be updated every 2 or 3 lines.

If you strip out the "Priority" optimisations and just log every item on every cycle, you will still see 12-13 lines of data per second.


The Data
All of the usual suspects should be covered. You can log pretty much everything you need, all at once, right out of the box... at 20 lines per second.

There really is quite a lot of data...




There are also some extra items you won't have seen before, to do with load tuning. Those items came from an investigation into Load Ramp Rate. Very useful stuff.

When you download the latest RAX Patch fileset, you'll find that it comes with a comprehensive pdf instruction document. It lists all the logging items supported, value ranges, resolution limits, etc.

One of the nice things about RAX Fast Logging is that it does away with the need to know ROM-specific addressing for the supported data items. The patch collects everything internally, places it in the SAME memory position, in the SAME format... across all supported ROMs.


You can obviously revise EvoScan's scalings and data to suit your particular requirements. For example...
  • If you read wideband data via rear O2 sensor ECU input, you'll want to plug in the appropriate formula to convert to AFR. You'll also want to align GaugeMin/GaugeMax/ChartMin/ChartMax with "Air/Fuel Ratio (Map)" to get the secondary graphing scale working.
  • If you use "Metric Units" mode but prefer PSI to kPa for Baro/MAP/Boost, just delete the stuff in MetricEval/MetricUnits for those items. It'll revert to PSI.

One extra thing worth noting: When you are looking at RPM, LoadTiming, TimingAdv and KnockSum, you're looking at a snapshot of a single ECU "cycle". All four of those items are collected in one go, and requested as one. RPM/LoadTiming should give you the EXACT spark table reference used at that instant, the TimingAdv is the actual timing being used at that instant, and KnockSum is... well, you get the idea. This helps a lot when interpreting the data!


The Future
When it comes to mode23 logging, there are more optimisations lurking out there which could boost data-delivery speeds further. There are also more aggressive client approaches, ie. requesting more than 4 bytes per ECU read.

Such future advancements shouldn’t make RAX Fast Logging obsolete. Its job is to bundle up a complex load of data into a standardised format block of contiguous memory. That operation should slot neatly into subsequent evil schemes for logging acceleration.


EvoScan 2.9 Support

Hamish has put lots of effort into enhancements and bug-fixes for EvoScan. If you haven't upgraded to 2.9, now is the time!

If you do come across any funny issue with the program, please raise an EvoScan support ticket... so Hamish knows about it. You can also find active threads on EvoScan on the forums (eg. here on EvoM and here on EvoX).


RAX Support

If you find a possible problem with any logged item, you can raise it with me right here, or email me (see below). I’ll be happy to double-check the patch's processing to see if there's an issue. Note that you can still log "regular" items along with all the RAX Fast Logging items - you can therefore log your "old-style" items and overlay them on the graph of the new RAX-delivered version. They should be consistent.



RAX Fast Logging is DONATIONWARE!

I've spent stupid amounts of time, effort and fuel developing/testing this patch... including a rather stressful evening unbricking my ECU after a 1-byte coding error. Grr. It's lucky we have sane gun laws in Australia, or my wife would have shot me, the Ralliart and my trusty logging laptop.

If you use RAX Fast Logging and appreciate its loggy awesomeness, please donate - whatever you reckon it's worth to you. My PayPallable email is

raxpatch <at> gmail <dot> com





Enjoy the faster logging! Happy tuning, and stay safe on those roads!

Rich
Attached Thumbnails RAX Fast Logging-2012.11.29_evoscan1.jpg   RAX Fast Logging-2012.11.29_evoscan2.png  
Old Nov 29, 2012, 05:15 AM
  #2  
Silver Sponsor
iTrader: (-1)
 
evoscan's Avatar
 
Join Date: Apr 2010
Location: nz
Posts: 885
Likes: 0
Received 20 Likes on 10 Posts
Awesome work Richard, well done, I tried out your amazing RAX EVOX fast logging, and with EvoScan and by prioritising some dataitems, I can consistently get 20 lines with 35 items = 700 samples per second.

Last edited by evoscan; Nov 29, 2012 at 05:18 AM.
Old Nov 29, 2012, 06:09 AM
  #3  
Evolving Member
iTrader: (8)
 
01CBR929's Avatar
 
Join Date: Aug 2005
Location: TN
Posts: 423
Likes: 0
Received 0 Likes on 0 Posts
Interesting, looks like a handy improvement!
Old Nov 29, 2012, 06:09 AM
  #4  
Evolved Member
Thread Starter
 
richardjh's Avatar
 
Join Date: Oct 2010
Location: Australia
Posts: 2,447
Received 14 Likes on 13 Posts
Thanks for all the hard work on this, Hamish. I'll stop pestering you on Skype now, I promise!

Rich
Old Nov 29, 2012, 06:15 AM
  #5  
Evolving Member
iTrader: (1)
 
TravisF's Avatar
 
Join Date: May 2008
Location: New Mexico
Posts: 239
Likes: 0
Received 0 Likes on 0 Posts
Looks great. Any chance of standalone logging working with it?
Old Nov 29, 2012, 06:24 AM
  #6  
Evolved Member
Thread Starter
 
richardjh's Avatar
 
Join Date: Oct 2010
Location: Australia
Posts: 2,447
Received 14 Likes on 13 Posts
Well, we'd need:

[1] OP2.0 standalone logging being able to read and log 4-byte values cleanly. Like, sensibly logging 32-bit-maximum value of 4294967295.

If that works, we could then log 8 x 4-byte "packages".

The log wouldn't contain human-readable data at that point. So we'd also need...


[2] A simple Windows utility that takes a "log9999.csv" file and converts all the 4-byte packages into a readable log file. I'd recommend one that looks exactly like an EvoScan log... so you could just load the file straight into EvoScan's graphing tool & maptracer.



I don't have awesome Windows developer skillz. I did do some of that stuff a while back, but it didn't suit me. So I'm not volunteering, lol.

A nice idea, though.

Rich
Old Nov 29, 2012, 06:55 AM
  #7  
Evolving Member
iTrader: (8)
 
jyamona's Avatar
 
Join Date: Jun 2010
Location: Northeast PA
Posts: 348
Likes: 0
Received 0 Likes on 0 Posts
great work yet again Rich, thanks!
Old Nov 29, 2012, 07:01 AM
  #8  
Evolving Member
iTrader: (1)
 
TravisF's Avatar
 
Join Date: May 2008
Location: New Mexico
Posts: 239
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by richardjh
Well, we'd need:

[1] OP2.0 standalone logging being able to read and log 4-byte values cleanly. Like, sensibly logging 32-bit-maximum value of 4294967295.

If that works, we could then log 8 x 4-byte "packages".

The log wouldn't contain human-readable data at that point. So we'd also need...


[2] A simple Windows utility that takes a "log9999.csv" file and converts all the 4-byte packages into a readable log file. I'd recommend one that looks exactly like an EvoScan log... so you could just load the file straight into EvoScan's graphing tool & maptracer.



I don't have awesome Windows developer skillz. I did do some of that stuff a while back, but it didn't suit me. So I'm not volunteering, lol.

A nice idea, though.

Rich
Adding databits=32 *might* work to read 4 bytes at a time I don't know if anyone has ever tried.

How are you packaging the data into each 4 byte location? I have a decent amount of experience writing small C# windows programs and don't think it would be very hard to convert a 4 byte number into 4 values if I knew how you were formatting them.
Old Nov 29, 2012, 07:27 AM
  #9  
Evolving Member
iTrader: (8)
 
jyamona's Avatar
 
Join Date: Jun 2010
Location: Northeast PA
Posts: 348
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by TravisF
Adding databits=32 *might* work to read 4 bytes at a time I don't know if anyone has ever tried.

How are you packaging the data into each 4 byte location? I have a decent amount of experience writing small C# windows programs and don't think it would be very hard to convert a 4 byte number into 4 values if I knew how you were formatting them.
I could definitely write a C# app to do this as well, it's pretty easy.
Old Nov 29, 2012, 08:05 AM
  #10  
Evolved Member
Thread Starter
 
richardjh's Avatar
 
Join Date: Oct 2010
Location: Australia
Posts: 2,447
Received 14 Likes on 13 Posts
Sounds cool. But let's leave it until after Christmas. I've just about had enough of "fast logging" projects for 2012, lol.

Got to leave something for the New Year.

Rich
Old Nov 29, 2012, 09:13 AM
  #11  
Evolving Member
iTrader: (1)
 
TravisF's Avatar
 
Join Date: May 2008
Location: New Mexico
Posts: 239
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by richardjh
Sounds cool. But let's leave it until after Christmas. I've just about had enough of "fast logging" projects for 2012, lol.

Got to leave something for the New Year.

Rich
Sounds good to me. I plan on tesing 2.9 with your patch this weekend after I install my 3 port
Old Nov 29, 2012, 02:05 PM
  #12  
Newbie
 
Ar Design's Avatar
 
Join Date: Nov 2012
Location: Denver, CO
Posts: 1
Likes: 0
Received 0 Likes on 0 Posts
This is a fantastic update! Thank you everyone for the hard work
Old Nov 29, 2012, 03:04 PM
  #13  
Evolving Member
 
NZEvox's Avatar
 
Join Date: Apr 2008
Location: New Zealand
Posts: 199
Likes: 0
Received 0 Likes on 0 Posts
Great work
Any chance of supporting JDM 2008 sst 52370024
Thanks Richard
Old Nov 29, 2012, 03:18 PM
  #14  
Evolved Member
Thread Starter
 
richardjh's Avatar
 
Join Date: Oct 2010
Location: Australia
Posts: 2,447
Received 14 Likes on 13 Posts
Okay, here you go...

52370024 RAX Fast Logging

This is purely Fast Logging - I haven't developed the other RAX Patches for that ROM.

Rich

Last edited by richardjh; Nov 29, 2012 at 04:05 PM.
Old Nov 29, 2012, 03:21 PM
  #15  
Evolved Member
iTrader: (7)
 
chetrickerman's Avatar
 
Join Date: Dec 2008
Location: Colorado Springs
Posts: 575
Received 1 Like on 1 Post
so you have to log all the items or can you turn on which ones you want and turn off which ones you dont want ?

Great work Rich, and all who is associated. You should put everyone donation paypal who helped make this in the first post


Quick Reply: RAX Fast Logging



All times are GMT -7. The time now is 09:40 AM.