Pages: [1] 2 3 ... 35
Author Topic: Logging ME7 fast and flexible => ME7Logger  (Read 552013 times)
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« on: July 29, 2011, 03:58:15 AM »

Pushing a little bit forward on the logging front ...
Here is my ME7Logger package now available for everybody,
has been tested successfully on different cars.

It consists of two tools: one to generate ecu characteristics files
(similar to properties) out of ecu images, second to log data.
No GUI for klicky guys, no graphics, just console programs.

/sales_mode=on  Wink
Will outperform commercially available tools on speed & flexibility:
 - Up to 50 samples per second possible.
 - Up to 127 independent variables can be logged at same time.
 - Open for expansions: whatever you want to log, you can define it.
 - No fiddling with licenses/hacked programs needed.
/sales_mode=off

- It's free for hobby use,
- It's NOT for noobs. Not a connect-and-log tool,
  before logging you should have your ecu image available.

Last but not least: buy a commercial program if you want
to make someone liable for damages/not working logging tools  Smiley

Update 12.08.2011, some fixes/changes done:
- Experimental FTDI native driver support added, option -f
- Logger start time synchronization added, option -t
- Logger absolute timestamp added, option -a
- Allow TAB's also in trace config files
- Variables zwbasar_<xx> for all available cylinders
- Variables wkraa_<xx> limited to available cylinders
- Minor changes, some variables added

Update 09.09.2011, some of the requested changes/fixes done:
- Single sample option added (result is output just to the window)
- More variables determined for images with code variant (missing tans(IAT) for one image)
- zwbasar_<xx> now really available for all available cylinders
- Some more variables added
- Some alias names added, some changed


Update 02.04.2012 to version 1.17:
(Updated 04.04.2012 the ME7Info in the .zip, fixed path error)
Changes in ME7Logger:
- Reworked general timing calculations, timestamps, sync to full second
- Fixed local time in absolute timestamps (option -a)
- Supress logfile writing when output goes to stdout (option -R)
  useful if output is piped to external evaluation tool/filter
- Added option -m: Timestamp format milliseconds
- Added option -h: supress printing header information in logfiles
- Added option -b: set logging baudrate for communication,
                   override baudrate from ecu file
- connection method "double slowinit" added (helps with "instrument cluster" problem)
  To use double slowinit set in the [Communication] section of the .ecu file:
    Connect      = SLOW-0x00
    DoubleDelay  = 12           ; Possible values 1 .. 100 (delay in 100ms)
  This only allows to connect while engine not yet started.

Changes in ME7Info:
- Reverted back to zwbasar_0 .. zwbasar_3
  (Array size NOT dependent on number of cylinders)
- Some variables added:
 + zwoutar_0 .. zwoutar_3
 + zwsol
 + redist / evz_austot
 + lamfaws_w / lamfawkr_w / lamfaw_w / lamfwl_w / lamrlmn_w
 + perffilt_w / perfmax_w   => This is CPU-Load
    It helps in finding out the max. logging capabilities of your ECU.
    Around 90% CPU-Load might be a limit for the ECU.


Update 10.07.2013 to version 1.20:
Changes in ME7Logger v1.20:
- Read additional ecu characteristics file "my_<ecufile>" if it exists in same directory as <ecufile>.
  -> my_<ecufile> should be used to keep manually added definitions.
- Read additional log config file my_<ecu>_template.cfg from same directory as log config file.
  - my_<ecu>_template.cfg can be used to keep log entries for manually added definitions
- Optimization of logged data, e.g.:
    - logging multiple bitvariables which use the same byte will read only one byte from ecu.
    - logging two byte variables from neighbouring memory addresses will read only one merged
      word location from ecu.
    The limits are now:
      - up to 254 bytes,
      - up to 127 different memory locations (1 or 2 bytes),
      - up to 254 variables.

- Linux port added
   -> see "ME7Logger_Linux_DIST_10072013.tgz"
   Serial interfaces work using device /dev/ttyS*, as well as FTDI cables in serial mode
   using the kernel module ftdi_sio and device /dev/ttyUSB0.
   FTDI native mode is supported using libftdi1 and libusb1, both are already included
   in many Linux distributions.
   libftdi1: http://www.intra2net.com/en/developer/libftdi
   libusb1:  http://www.libusb.org/wiki/libusb-1.0

- Shared library (DLL) added (.so/.dll) for those who want to implement own logging solutions
   -> see directory "lib" in the ME7L .zip/.tgz files for description and example program.
   An example driver for WinLog (http://www.devtechnics.com/winlog.htm) using the ME7L shared library
   is available as well in ME7L_Winlog_driver.zip. Just copy ME7L_winlog.dll and libME7Logger.dll into
   the Winlog directory to make use of it.

Changes in ME7Info v1.20:
- Linux port added
- Internal cleanup work

https://s4wiki.com/wiki/Tuning#Logging_utilities
See http://nefariousmotorsports.com/forum/index.php?topic=4830.0title= for a GUI front end
« Last Edit: March 21, 2019, 09:43:25 AM by nyet » Logged
carlossus
Sr. Member
****

Karma: +38/-0
Offline Offline

Posts: 394

Leon Curpa Stg1+


« Reply #1 on: July 29, 2011, 05:32:34 AM »

You are a legend for sharing this. Thank you!
Logged
lulu2003
Full Member
***

Karma: +11/-1
Offline Offline

Posts: 242



« Reply #2 on: July 29, 2011, 05:59:49 AM »

thanks a lot.
will try soon and looking forward to the the first GUI Wink
Logged
NOTORIOUS VR
Administrator
Hero Member
*****

Karma: +58/-7
Offline Offline

Posts: 1056


« Reply #3 on: July 29, 2011, 06:24:56 AM »

This is pretty epic!  Thanks for sharing!
Logged

SCHNELL ENGINEERING BLOG ·  STANDALONE ECUS · TUNING · DYNO · WIRING · PARTS · VEMS
Google Talk: NOTORIOUS.VR
n00bs start here: http://s4wiki.com/wiki/Tuning
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #4 on: July 29, 2011, 07:24:52 AM »

Awesome tool setzi, thank you.
Logged
Matt Danger
Full Member
***

Karma: +17/-1
Offline Offline

Posts: 116


« Reply #5 on: July 29, 2011, 07:30:58 AM »

Thanks for this, can't wait to try it out.
Logged
s5fourdoor
Hero Member
*****

Karma: +33/-3
Offline Offline

Posts: 617


« Reply #6 on: July 29, 2011, 10:48:47 AM »

dude.  this is epic.  100% complete and utterly epic.  now all we have to do is get a common list of what should be logged under most conditions!

just a quick suggestion / thought.

is there anyway you can add an option to do "synched timing".

this means if i enable / config the logger to use "synched timing", it will start the log exactly on the computer's clock second:  aka  11:05:10.0000 AM    like that?

this would greatly assist users to fuse multiple logging sources...  just a thought!
« Last Edit: July 29, 2011, 11:06:09 AM by nehalem » Logged
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Offline Offline

Posts: 12278


WWW
« Reply #7 on: July 29, 2011, 10:51:55 AM »

Hell ya. screw GUIs.

Thank you so much setzi!

Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Offline Offline

Posts: 12278


WWW
« Reply #8 on: July 29, 2011, 10:52:43 AM »

BTW i will be updating ECUxPlot to be able to read log files from this tool.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
vwaudiguy
Hero Member
*****

Karma: +54/-37
Offline Offline

Posts: 2024



« Reply #9 on: July 29, 2011, 11:07:00 AM »

Thank you!!!!!!!!!!!!!!!!!!!  Grin
Logged

"If you have a chinese turbo, that you are worried is going to blow up when you floor it, then LOL."
Matt Danger
Full Member
***

Karma: +17/-1
Offline Offline

Posts: 116


« Reply #10 on: July 29, 2011, 09:42:29 PM »

BTW i will be updating ECUxPlot to be able to read log files from this tool.

Excellent
Logged
s4rmm
Jr. Member
**

Karma: +4/-1
Offline Offline

Posts: 28


« Reply #11 on: July 30, 2011, 10:46:45 AM »

Anybody got it working with Ross-Tech USB cable?
Logged
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #12 on: July 30, 2011, 11:05:19 AM »

Anybody got it working with Ross-Tech USB cable?

If your cable works with NefMoto or ECUx, it should work no problem. You may have to set it to dumb mode. My blue KKL cable works perfectly.
Logged
Complacentsee
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 2


« Reply #13 on: July 31, 2011, 01:23:44 PM »

I know many people are used to seeing the logs displayed in Mark P format.
Here is my Mark P style logger configuration and excel sheet.

You will have to edit the config to reference your ecu config file "mybin.ecu". You may want to adjust the sample rate as I have selected 25.

Once you have logged you can simply copy the data you want, with the headers and it should auto populate the graphs. I made Mark P's template look for ME7Logger headers. Then I added in the unit conversions to make the graphs work correctly. If I recall these were the only data changes:

Convert time from seconds to milliseconds.
Convert Speed from kilometers per hour to miles per hour.
Convert Temperature from Celsius to F.
Convert Timing retard from negative to positive.

If someone is familiar with the how this worked with ecux you may want to verify the data I pulled matches the variable that ecux is logging. I think I matched them correctly, but I have never tuned, and never used ecux so I'm not sure.

If you find any errors, let me know and I'll update this post.
(I'm having trouble getting the files to upload at the moment)
« Last Edit: July 31, 2011, 03:27:02 PM by Complacentsee » Logged
nyet
Administrator
Hero Member
*****

Karma: +608/-168
Offline Offline

Posts: 12278


WWW
« Reply #14 on: July 31, 2011, 02:15:06 PM »

BTW i will be updating ECUxPlot to be able to read log files from this tool.

http://nyet.org/cars/ECUxPlot/

Please test it out, and send bug reports Wink
« Last Edit: June 04, 2013, 01:15:54 PM by nyet » Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
Pages: [1] 2 3 ... 35
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.983 seconds with 16 queries. (Pretty URLs adds 0.001s, 0q)