Notices
ECU Flash

glitch with 2-byte airflow logging in Logworks

Thread Tools
 
Search this Thread
 
Old Apr 1, 2009 | 04:24 PM
  #1  
shadow1's Avatar
Thread Starter
Evolved Member
iTrader: (38)
 
Joined: Feb 2005
Posts: 660
Likes: 0
From: Laurel, MD
glitch with 2-byte airflow logging in Logworks

I can log 2-byte airflow and load perfectly. However, I had to configure the protocol definition for 2-byte airflow in a strange way to make it work. Here are my definitions:
<datachannel id="#00" name="loadmsb" selected="1" units="load" min="0" max="255" expr="x" type="0"/>
<datachannel id="#01" name="loadlsb" selected="1" units="load" min="0" max="255" expr="x" type="0"/>
<datachannel id="#04" name="airflowmsb" selected="0" units="hz" min="0" max="3000" expr="x" type="0"/>
<datachannel id="#05" name="airflowlsb" selected="0" units="hz" min="0" max="3000" expr="x" type="0"/>

I would expect the "max" 2-byte airflow value to be 255 just like with load. If I use 255 as a max, I get weird airflow numbers when I run my Logworks calculation. Even though the bit data never exceeds 255, if I set the max to 3000, then the 2-byte airflow data log and calculation work perfectly. Anyone else notice this?
Reply
Old Apr 1, 2009 | 04:31 PM
  #2  
fostytou's Avatar
EvoM Community Team
iTrader: (15)
 
Joined: Sep 2006
Posts: 3,143
Likes: 7
From: Aurora, IL
the max for any 1 byte value is 255. The max for any 2 byte value is much higher. 255 units would not be able to cover the full range of 2 byte airflow anyway without being evaluated.

See here for more info: https://www.evolutionm.net/forums/6863231-post2.html
Reply
Old Apr 2, 2009 | 07:32 AM
  #3  
C6C6CH3vo's Avatar
Evolved Member
iTrader: (9)
 
Joined: Feb 2005
Posts: 4,223
Likes: 4
From: sc
No matter what I used in the lsb/msb lines, the 2bite product was twice as sloppy as the rest of the MUT logs in LW. Ended up logging hz another way directly as weel as IDC/IPW
Reply
Old Apr 3, 2009 | 04:38 PM
  #4  
shadow1's Avatar
Thread Starter
Evolved Member
iTrader: (38)
 
Joined: Feb 2005
Posts: 660
Likes: 0
From: Laurel, MD
Originally Posted by C6C6CH3vo
No matter what I used in the lsb/msb lines, the 2bite product was twice as sloppy as the rest of the MUT logs in LW. Ended up logging hz another way directly as weel as IDC/IPW
May I ask how did you end up logging airflow?
Reply
Old Apr 3, 2009 | 04:59 PM
  #5  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
the only problem with 2byte is the low/high mismatch that occurs sometimes...
Reply
Old Apr 3, 2009 | 05:15 PM
  #6  
shadow1's Avatar
Thread Starter
Evolved Member
iTrader: (38)
 
Joined: Feb 2005
Posts: 660
Likes: 0
From: Laurel, MD
Originally Posted by tephra
the only problem with 2byte is the low/high mismatch that occurs sometimes...
Care to elaborate?
Reply
Old Apr 3, 2009 | 05:21 PM
  #7  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
like when you see a spike upto like 400 load or drop down to 30..

ie when the high byte is transitioning from 0 to 1 and the low byte is transitioning from ~255 to ~0...
Reply
Old Apr 3, 2009 | 05:32 PM
  #8  
shadow1's Avatar
Thread Starter
Evolved Member
iTrader: (38)
 
Joined: Feb 2005
Posts: 660
Likes: 0
From: Laurel, MD
Seems like no one else has noticed this glitch with Logworks.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mplspilot
ECU Flash
86
Dec 5, 2016 03:29 PM
tephra
ECU Flash
1448
Jul 25, 2016 02:21 PM
mrfred
ECU Flash
57
Dec 7, 2015 01:49 PM
roni4g63
ECU Flash
1
Nov 14, 2015 11:45 AM
burgers22
ECU Flash
9
Nov 5, 2013 10:13 PM




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