Notices
ECU Flash

2 Byte Load Spike in Logworks

Thread Tools
 
Search this Thread
 
Old Jul 4, 2007, 05:11 PM
  #1  
Evolved Member
Thread Starter
iTrader: (6)
 
nj1266's Avatar
 
Join Date: Nov 2004
Location: USA
Posts: 3,254
Likes: 0
Received 13 Likes on 3 Posts
2 Byte Load Spike in Logworks

I am getting spikes when I log the 2 byte load with Logworks. It does not happen all the time, but it does happen.

I remember that someone in this forum was able to edit the *.log file to remove the spike.

Anyone knows how I can edit a *.log and smooth out the spike based on the before and after values?
Old Jul 4, 2007, 05:54 PM
  #2  
Evolved Member
iTrader: (18)
 
Jorge T's Avatar
 
Join Date: May 2004
Location: Houston, TX
Posts: 1,494
Likes: 0
Received 1 Like on 1 Post
Export the *.log to *.dif. Use Excel to open the dif file and edit the spikes.

I create a column with the 2byte load calc formula and change the loadmsb value which is the one that gets screwy # causing the spike. Then I delete the loadcalc column, clean up the file and save it again in dif. I open the file using LW3 again and recalculate the load calc.

Another way is to edit the load calc math channel values directly. But the file may get unstable and get corrupt.

You may have to keep using the file in dif format, lately I've had the LC-1 AFR get corrupted using save as *.log using this procedure in LW3b2.


Make sure to make a copy of the log file before you do any editing.

Last edited by Jorge T; Jul 4, 2007 at 06:02 PM.
Old Jul 4, 2007, 06:18 PM
  #3  
Account Disabled
iTrader: (1)
 
Tuner@Swift's Avatar
 
Join Date: Jun 2006
Location: Taftville, CT
Posts: 472
Likes: 0
Received 0 Likes on 0 Posts
The spikes are caused during the shift in reading the most significant byte and least significant byte. As long as you realize whats going on, theres no need to worry about them.
Old Jul 4, 2007, 06:47 PM
  #4  
Evolved Member
Thread Starter
iTrader: (6)
 
nj1266's Avatar
 
Join Date: Nov 2004
Location: USA
Posts: 3,254
Likes: 0
Received 13 Likes on 3 Posts
Thanks Jorge. It worked
Old Jul 4, 2007, 07:01 PM
  #5  
Evolved Member
iTrader: (18)
 
Jorge T's Avatar
 
Join Date: May 2004
Location: Houston, TX
Posts: 1,494
Likes: 0
Received 1 Like on 1 Post
Old Jul 5, 2007, 11:01 AM
  #6  
Evolved Member
iTrader: (9)
 
C6C6CH3vo's Avatar
 
Join Date: Feb 2005
Location: sc
Posts: 4,223
Likes: 0
Received 4 Likes on 4 Posts
I get spikes in 2byte load as well.

Is there any way logging 2 byte can change the way the ECU processes? Weirdness here but these spikes have corresponded to a change of other parameters, but I'm not certain if coincedence
Old Jul 5, 2007, 12:05 PM
  #7  
Account Disabled
iTrader: (1)
 
Tuner@Swift's Avatar
 
Join Date: Jun 2006
Location: Taftville, CT
Posts: 472
Likes: 0
Received 0 Likes on 0 Posts


Are these the type of spikes you guys are seeing? If so, they aren't a big deal and should have no effect on what the ECU is actually doing.
Old Jul 5, 2007, 12:19 PM
  #8  
Evolved Member
iTrader: (2)
 
l2r99gst's Avatar
 
Join Date: Mar 2004
Location: CA
Posts: 3,499
Likes: 0
Received 4 Likes on 4 Posts
^^Right.

Those spikes are just because of the MSB or LSB changing in the time it took to log the MSB and LSB separately.

For example, when your load crosses from 255 to 256 (2byte load of 80), the MSB and LSB may look like this:

MSB LSB
.
.
.
0 254
0 255
1 0
1 1
1 2
.
.
.

The 1 in the MSB represents 256. So, if your logger logged a 1 for the MSB, and the LSB changed from 0 to 255 (for the next lower load), then your logger would put those two numbers together and get (256+255)*10/32, or a load of 160.

These point occur anytime the LSB changes number. These will be at two byte load increments of 80. So you may see these spike around loads of 80, 160, 240, 320, etc.


Eric

Last edited by l2r99gst; Jul 5, 2007 at 12:37 PM.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
kartectuning
ECU Flash
5
Jun 14, 2012 08:01 PM
lemmonhead
ECU Flash
2
Jun 27, 2009 07:51 PM
andrewzaragoza
ECU Flash
6
Feb 18, 2008 06:28 PM
NIevo
ECU Flash
11
Sep 21, 2007 07:11 PM
Jer.k
ECU Flash
6
Jun 23, 2007 05:36 PM



Quick Reply: 2 Byte Load Spike in Logworks



All times are GMT -7. The time now is 01:23 AM.