Torque

Forums

Forums

I am working on a l...
 
Notifications
Clear all

I am working on a log viewer

17 Posts
9 Users
0 Reactions
1,282 Views
(@voldeus)
Posts: 11
Active Member
Topic starter
 

so I'm not a fan of the online log viewing solution...
I was playing around with some log files in excel and I got sick of all the steps required to import and plot, not to mention missing zoom features.. I don't kno anything about excel macros so I threw together a log viewer for windows .NET..

so far it loads the .csv, lists PIDs available in the log, and lets you choose which to plot on screen.. has scroll and zoom support already..

i dont know if there is another soft out there that is already doing this but i just threw it together this afternoon.. if anyone is interested in a soft like this, there are a lot of things I can add in... like;

    ability to control color and position of each item logged
    quick log download from device
    ability to create new charts with available data and user defined formulas.. ie: show delta between speed and MAF/MAP to compare against throttle position for testing a ram air setup..
    ability to save layout and custom charts as template to use with future .CSV logs
    route/track mapping with google maps API
    lots of mapping options not worth going through
    etc..

give me some votes: is this is worth putting some time into, would anyone like to test it..

 
Posted : 03/05/2012 2:34 am
(@derrij)
Posts: 1
New Member
 

very interested on it.

 
Posted : 03/05/2012 7:42 am
(@celblazer)
Posts: 66
Trusted Member
 

Also interested

 
Posted : 03/05/2012 4:16 pm
(@voldeus)
Posts: 11
Active Member
Topic starter
 

I'll clean it up a bit and post something in a day or two..

 
Posted : 03/05/2012 4:39 pm
(@voldeus)
Posts: 11
Active Member
Topic starter
 

worked on it a bit this morning...

 
Posted : 03/05/2012 8:49 pm
(@superdog404)
Posts: 33
Eminent Member
 

YES, that looks very interesting.

 
Posted : 07/05/2012 1:19 am
(@admin)
Posts: 6550
Member Admin
 

Hi!

You may want to look at the torque sync agent (now available) that will automatically sync the data over wifi to the PC and put it into a predefined location - you may find it easier to point your code at where the data is synced to:

{home directory}/.torqueRecorder folder (it only syncs trip logs and tripRecorder logs at the moment)

The sync agent (windows, osx) is on http://torque-bhp.com/wiki/Exporting_Video

This should save the hassle of connecting a cable to retrieve logs as over wifi it's mostly automatic as soon as the phone and PC see each other

 
Posted : 07/05/2012 6:45 am
(@voldeus)
Posts: 11
Active Member
Topic starter
 

Thanks for the suggestion piemmm, I'll definitely look into that. Sorry I haven't gotten anywhere with this guys, been swamped with work recently. Certainly still going to do this thing!!

 
Posted : 05/06/2012 2:14 pm
(@superdog404)
Posts: 33
Eminent Member
 

Hi volDeus - How is your logging viewer coming? I would be interested in using it also.

Thanks
superdog404

 
Posted : 14/01/2013 12:48 am
(@topofsteel)
Posts: 7
Active Member
 

What are you using? If it's C# I may be able to help. Are you willing to share your source code?

 
Posted : 14/01/2013 12:56 pm
(@voldeus)
Posts: 11
Active Member
Topic starter
 

O boi... 3 year necro... sorry.

I realize there are some other solutions available now that have progressed excellently, but I spent the last hour dusting mine off and polishing it a bit for personal necessity... I always seem to find my own way of doing things.

I still plan to add all of the fancy features, life gets in the way... I can throw it up on GitHub if anyone wants. (Yes it's c-sharp)

 
Posted : 14/04/2015 11:23 am
(@voldeus)
Posts: 11
Active Member
Topic starter
 

Working on dynamic scaling and weighted guide rules. Considering porting to Android. Threw together a WPF UI that feels cool also....

 
Posted : 14/04/2015 11:42 am
(@voldeus)
Posts: 11
Active Member
Topic starter
 

Got a little more done on it..

 
Posted : 17/04/2015 12:41 am
(@voldeus)
Posts: 11
Active Member
Topic starter
 

Been putting in some quality time with this. Complex expressions can now be entered for graphing and CSV log data accessed as variables in those expressions.

This means, for example, you could define a graph as simple as "RPM[x]” or as complicated as "(O2UP[x+10] - O2DOWN[x]) / THROTTLE[x]"

Each graph (or "Data Visualizer") also has other attributes affecting it's appearance that can be set to a static value or controlled with an expression as well.

For instance, a "visualizer" rendering;
-RPM could have it's "Scale" attribute set to a small magnitude so that it fits on screen with other data.
-Short term fuel could have it's x-axis origin line defined by the expression "STTRIM[mean]” to center at it's average value.
-Absolute load could have a gradient overlay with it's start and stop defined as "ABSLOAD[min]" and "ABSLOAD[max]".
-O2 sensor voltage could incorporate data from a different parameter and have it's "Opacity" attribute defined as "COOLTEMP[x] * (100 / COOLTEMP[range])".

The possibilities far exceed my imagination or knowledge of tuning/diagnosis.

All visualizer definitions are automatically saved to view later or with another set of data. They can also be exported or imported through XML.

I plan to add a feature to import data sets from sources other than torque CSV files, and to export the data set resulting from an expression. This could be used for comparing known data from technical documentation and/or exports from a vehicle operating within specifications, to one that is being diagnosed or tuned. It could also be used to compare data from the same vehicle but at different times and in different situations/configurations.

Currently the only style of visualizer is the "Linear Curve" shown in the images I posted. I plan to add others but I haven't thought much about what they will be.

 
Posted : 01/05/2015 8:18 am
(@f-150torqued)
Posts: 436
Reputable Member
 

@volDeus

I am quiet interested in your efforts. Similarly, I have been working on discovery of non-standard (proprietary) PIDs available on my vehicle and creation of meaningful dashboard gauges for analysis of a rather common problem with the popular Ford 5.4L three valve engine's (the Variable Valve Timing system - and Cam Phasers). The ECU turns off a 'flag' (VCTENA) and disables (shuts down) the V.V.T. system based on logic that I am trying to reverse engineer. Each run cycle (not drive cycle as no Soak time is required), VCTENA starts off in the "ON" state, and after some count (???) of CAM retard error ("CAMERRR") occurrences, or some other yet undiscovered parameters??, the ECU turns VCTENA "OFF" for the balance of that run cycle. Shutting off the engine and restarting it 'even immediately' restarts that cycle - EVEN after and in the presence of a DTC. Excel graphs from Torque CSV logfiles are helpful, but its too 'tedious' to change source data ranges to scan along magnified views of longer (condensed) time periods. One of the several "counters" maintained by the ECU determines when a DTC (P0011 or P0012 /or/ P0021 or P0022) - over advance or performance / over retard on banks 1 or 2 respectively) is set. It is based on an accumulation of CAMERRR degrees or counter of how many times CAMERRR exceeds so many degrees. Determining the specific "COUNT" that leads to these DTC's - and under what condition(s) the ECU will reset them to avoid setting the code would be invaluable diagnostics / troubleshooting information.

If you would be interested in any cooperative effort, or testing of a paid or unpaid beta version of the Visualizer, you may PM me at the private email address Temp_volDeus_from_Torque@devoll.com . That discussion would be more appropriate outside the Forum.

 
Posted : 03/05/2015 5:18 pm
(@lunabo)
Posts: 1
New Member
 

Looks great, is it possible to get a compiled copy of that?

 
Posted : 05/05/2015 1:26 pm
(@kingchief)
Posts: 1
New Member
 

Quote from volDeus on May 1, 2015
Been putting in some quality time with this. Complex expressions can now be entered for graphing and CSV log data accessed as variables in those expressions.

This means, for example, you could define a graph as simple as "RPM[x]” or as complicated as "(O2UP[x+10] - O2DOWN[x]) / THROTTLE[x]"

Each graph (or "Data Visualizer") also has other attributes affecting it's appearance that can be set to a static value or controlled with an expression as well.

For instance, a "visualizer" rendering;
-RPM could have it's "Scale" attribute set to a small magnitude so that it fits on screen with other data.
-Short term fuel could have it's x-axis origin line defined by the expression "STTRIM[mean]” to center at it's average value.
-Absolute load could have a gradient overlay with it's start and stop defined as "ABSLOAD[min]" and "ABSLOAD[max]".
-O2 sensor voltage could incorporate data from a different parameter and have it's "Opacity" attribute defined as "COOLTEMP[x] * (100 / COOLTEMP[range])".

The possibilities far exceed my imagination or knowledge of tuning/diagnosis.

All visualizer definitions are automatically saved to view later or with another set of data. They can also be exported or imported through XML.

I plan to add a feature to import data sets from sources other than torque CSV files, and to export the data set resulting from an expression. This could be used for comparing known data from technical documentation and/or exports from a vehicle operating within specifications, to one that is being diagnosed or tuned. It could also be used to compare data from the same vehicle but at different times and in different situations/configurations.

Currently the only style of visualizer is the "Linear Curve" shown in the images I posted. I plan to add others but I haven't thought much about what they will be.

I am very interested in your project. It has been about 10 months since this thread's last post. This seams to be exactly what I am picturing for a viewer. I am unable to find a decent torque log viewer and am hoping someone if not you could point me in this program's direction or another like it. It would be much appreciated as now I am dealing with Excel and as we all know it's borderline conducive.

Thanks for any help.

 
Posted : 10/03/2016 7:21 pm
Share:

  Follow me on twitter