Logger done! - SOURCE AVAILABLE

Developer topics relating to software that logs data from ECUs

Moderator: Freon

Logger done! - SOURCE AVAILABLE

Postby realwomble » Sat Jun 04, 2005 1:26 pm

File data logger for WRX using SSM protocol (not ODB-2). Quick e.g. about 9 samples per second when logging 6 parameters per sample.

Update - v1.03 - See README in ZIP file for details.

(ECU_V1.02.ZIP ATTACHED TO THE END OF THIS POST)

See the README file in the ZIP file for more usage details.

Quick start (after connecting to car)

Code: Select all
  ECU.EXE <comport#> INFO


Choose which parameters from the list you want to log, and

Code: Select all
  ECU.EXE <comport#> LOG filename <param1> <param2> ....


... where <param#> is the short name for a variable in the INFO command output - e.g. RPM or SPEED. Can specify interval per parameter (e.g. every sample, every 100 cycles) - see README for details.

SOURCES are included in the ZIP. License for source is GPL. If you change / add / link to this code, post your changes back here. Main areas needing input are (1) more ECU information and (2) GUI if anyone is interested.

Win32 C code. Project from vs.net. For other vers, just create a "win32 console project" and drop in all the files.

Have fun, let me know about gross bugs or inaccuracies!

v1.02 6/6/05

- Fix calculation error for AFR1 Lambda
- "PSI" param was "absolute manifold pressure", which is wrong. Changed this to MANABS, and changed relative manifold pressure to "BOOST".
- Change time to seconds not ms.
- Change accuracy to 2 decimal places not 3.

1.03 6/7

- Add READMEM option
- Fix units on TPS.
Attachments
ECU_V1.03.zip
(56.37 KiB) Downloaded 1354 times
Last edited by realwomble on Tue Jun 07, 2005 11:51 pm, edited 13 times in total.
realwomble
 
Posts: 21
Joined: Thu May 26, 2005 4:07 pm
Location: Seattle, WA

Win32 sources

Postby loscooby2 » Mon Jun 06, 2005 1:16 am

Hi,

The link to the sources just downloads the .exe-file, could you update the link to point to the sources?

/L-O
loscooby2
 
Posts: 6
Joined: Thu Jun 02, 2005 11:13 pm

Postby realwomble » Mon Jun 06, 2005 12:23 pm

OOps, sorry.

Done
realwomble
 
Posts: 21
Joined: Thu May 26, 2005 4:07 pm
Location: Seattle, WA

Postby realwomble » Mon Jun 06, 2005 11:50 pm

V1.02 update.
realwomble
 
Posts: 21
Joined: Thu May 26, 2005 4:07 pm
Location: Seattle, WA

Postby realwomble » Tue Jun 07, 2005 11:32 pm

V1.03 - added READMEM option.
realwomble
 
Posts: 21
Joined: Thu May 26, 2005 4:07 pm
Location: Seattle, WA

live logging?

Postby loscooby2 » Wed Jun 08, 2005 10:54 pm

Hi,

I want to use the logger in my car since I already have a pc and a 7" touchscreen built in to my dash it makes good sence to have some params logged on the screen live instead of going to a logfile...

Have you thought of adding support for a stream-output in addition to the file-log output?

/L-O
loscooby2
 
Posts: 6
Joined: Thu Jun 02, 2005 11:13 pm

Postby realwomble » Thu Jun 09, 2005 12:57 pm

Sure, that would be easy.
realwomble
 
Posts: 21
Joined: Thu May 26, 2005 4:07 pm
Location: Seattle, WA

Postby west_minist » Sat Jun 11, 2005 11:39 am

I tried this and the INFO does not produce any results. I will try the mail line in an 1hr.
west_minist
 
Posts: 515
Joined: Fri Jan 07, 2005 1:31 pm
Location: Barbados

Postby west_minist » Sat Jun 11, 2005 4:11 pm

Ok. I tried all the parameters and no luck.
west_minist
 
Posts: 515
Joined: Fri Jan 07, 2005 1:31 pm
Location: Barbados

Postby engr » Sat Jun 11, 2005 8:04 pm

I tried 1.03, and it's every thing said.. it works perfectly for 02 wrx USDM.

except for LOAD, it always show 100..
Keep up the good work!!
engr
 
Posts: 20
Joined: Fri Jun 10, 2005 1:43 pm

Postby west_minist » Sat Jun 11, 2005 8:21 pm

I think my problem could be that I have an NA model.
west_minist
 
Posts: 515
Joined: Fri Jan 07, 2005 1:31 pm
Location: Barbados

Postby realwomble » Mon Jun 13, 2005 10:27 pm

engr wrote:I tried 1.03, and it's every thing said.. it works perfectly for 02 wrx USDM.

except for LOAD, it always show 100..
Keep up the good work!!


Glad its working for you. Moving house right now, so won't be able to do much for a couple of weeks.

LOAD moves per revision, I haven't had time to trakc it down yet. Can you PM me the output of the ECU n INFO command for your car?

Thanks.
realwomble
 
Posts: 21
Joined: Thu May 26, 2005 4:07 pm
Location: Seattle, WA

Postby Kha0S » Wed Jul 20, 2005 9:44 am

womble --

Great bit of code, thanks for distributing source.

I'm using your stuff as a reference to make some rapid prototypes of realtime 3D data displays... hope to post some screenshots or sample video in the next few days.

/Andrew
Kha0S
 
Posts: 106
Joined: Tue Jan 11, 2005 12:30 pm
Location: MY02 USDM WRX / Nashua, NH

Official

Postby cake337 » Sun Nov 27, 2005 2:19 pm

realwomble wrote:V1.


So where can i find the origional? :wink:B):wink:
cake337
 
Posts: 3
Joined: Sun Nov 27, 2005 2:08 pm

Postby wheelerjb » Mon Dec 26, 2005 6:37 pm

how do I run this on my laptop?
wheelerjb
 
Posts: 10
Joined: Tue Dec 20, 2005 2:11 pm

Next

Return to Data Logging Software

Who is online

Users browsing this forum: No registered users and 3 guests

cron