Welcome, Guest. Please Login or Register
MyECU main site
  Welcome to our forum.
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
logging timestamps (Read 5266 times)
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
logging timestamps
03/14/10 at 23:07:54
 
Not having a timeline is a major reason logs can become incomprehensible. It also makes detecting intermittent loss of communication more or less impossible, which is even worse.

I think there should be a timestamp on each line when logging, added by ECUController. At least just a simple integer, counting 1/10 seconds from start or whatever would fit for coding. This could be prepended as-is to every raw line, and parsed to mm:ss.s in the human readable logs.

By the way, is the raw logging rate (as in structs/second) fixed? I mean if I check a WOT pull in my logs and count to 100 log lines from idle to redline, and then after some changes I do another pull which only ends up in 90 lines. Can I assume there was a 10% change in real time or will the logging rate vary when ECU is busy?
Back to top
 

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 679
The Land of YaBB
Re: logging timestamps
Reply #1 - 03/15/10 at 06:42:25
 
Adding timestamps will be easy to do. I'll add that soon.

The current rate, I think, is 10 updates a second but I intend to redo this and make it more real time.
Back to top
 

The Administrator.
WWW  
IP Logged
 
Kiwi Roy
Junior Member
**
Offline


I love MyECU!

Posts: 66
Re: logging timestamps
Reply #2 - 07/07/10 at 21:39:03
 
I work with process control systems, chemical plants and such. 10 updates/second seems very high for logging. Once per second or once every 10 seconds would be more than enough IMHO
Roy
Back to top
« Last Edit: 07/07/10 at 21:42:01 by Kiwi Roy »  
 
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: logging timestamps
Reply #3 - 07/07/10 at 22:12:36
 
I think you have other uses in mind than I do. If you do a WOT pull with that sample rate, you'll have one log entry idling and the next log line you'll be going 150 km/h already. That would be of no use for analysing O2 levels versus map and such things. At redline, my bike ignites each cylinder at 70 Hz.

After one single WOT pull to redline, I can produce something similar to a dyno graph if I have the timeline and good enough sample rate. Near redline, 10 Hz resolution is low, but for most purposes it will do. The LC-1 sensor only outputs 12 Hz anyway.

BTW, look at the beatyful map I made with Innovate Logworks at 10 Hz: http://www.v11lemans.com/forums/index.php?showtopic=13803&view=findpost&p=164170
Back to top
 

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
Kiwi Roy
Junior Member
**
Offline


I love MyECU!

Posts: 66
Re: logging timestamps
Reply #4 - 07/09/10 at 05:29:02
 
You're right, I was thinking long term like a day trip more like what runners use to keep track of the heart rate etc.
Your map is a wonder to behold for sure, far more useful than what I had in mind Cool
Does the logging track all the variables or just O2?
Back to top
 
 
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: logging timestamps
Reply #5 - 07/09/10 at 07:28:32
 
I'm delighted you asked cause I'm very proud of my plugin  Cool

It passes ALL available info from MyECU as well as some more info that is derived from the raw data. It's overkill of course, but after I had solved all mysteries involved in parsing the raw data and passing it to LogWorks, it was a piece of cake to add everything I got.

Before this plugin, I wrote a generic GPS (NMEA) plugin as an excercise. Using both, you even get stuff like ground speed and MSL altitude if you want to  Smiley

Finally, LogWorks is a powerful beast, so it can use all this data in sensible ways, like filtering out all crusing parts from a huge log file or calculating actual horsepower from WOT pulls, given you can input cw values and other stuff. Or give you a complete new map ready to use, with sensible changes! All in all, it's very cool toys but I haven't used them yet this year. It's too easy forgetting to just RIDE the freight train!
Back to top
« Last Edit: 07/09/10 at 07:32:50 by raz »  

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print