Help me implement this into TP (total fuel used), and what's wrong with...
Thread Starter
Member
iTrader: (2)
Joined: Mar 2006
Posts: 236
Likes: 0
From: Hudson, OH
Car: '87 Formula
Engine: Ramjet 350
Transmission: T56
Axle/Gears: 3.23
Help me implement this into TP (total fuel used), and what's wrong with...
I'd like to have 'total fuel used' slapped into my datalogs.
This is a '727 running $8D.
Looking at the definition file, byte 49 and 50 is the MSB and LSB (respectively) for 'running total of fuel delivered'. The equation is then time (usec) = ([N49]*256 + [N50])*15.26. Is there somehow, in TP, that I'm not seeing how to use this data, both MSB and LSB. If not, how about using [byte 49]*256*15.26 and then [byte 50]*15.26 seperately....and then what, can they be added somehow in TP? I'm not seeing it, maybe someone could help me out?
This is a '727 running $8D.
Looking at the definition file, byte 49 and 50 is the MSB and LSB (respectively) for 'running total of fuel delivered'. The equation is then time (usec) = ([N49]*256 + [N50])*15.26. Is there somehow, in TP, that I'm not seeing how to use this data, both MSB and LSB. If not, how about using [byte 49]*256*15.26 and then [byte 50]*15.26 seperately....and then what, can they be added somehow in TP? I'm not seeing it, maybe someone could help me out?
Thread Starter
Member
iTrader: (2)
Joined: Mar 2006
Posts: 236
Likes: 0
From: Hudson, OH
Car: '87 Formula
Engine: Ramjet 350
Transmission: T56
Axle/Gears: 3.23
Re: Help me implement this into TP (total fuel used), and what's wrong with...
Whoops, forgot the second part of the post.
What is wrong with my total distance traveled? In the definition file, byte 51 is the accumulated distance traveled, where miles = N/2000. So setting it up in TP, multiply by .0005 should give me what I want. Looking at the datalog, it runs up to 0.13 then resets after every instance of reaching 0.13. Why?
What is wrong with my total distance traveled? In the definition file, byte 51 is the accumulated distance traveled, where miles = N/2000. So setting it up in TP, multiply by .0005 should give me what I want. Looking at the datalog, it runs up to 0.13 then resets after every instance of reaching 0.13. Why?
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: Help me implement this into TP (total fuel used), and what's wrong with...
Both of the values will roll over. Once the distance traveled reaches 255, the next click is 0. You need to keep a running track of the values and handle the rollover. I don't believe the current version of TP will do that.
RBob.
RBob.
TGO Supporter
Joined: Jan 2000
Posts: 1,861
Likes: 0
From: In your ear. No, the other one.
Car: '89 Trans Am WS6
Engine: 350 TPI
Transmission: T5WC
Axle/Gears: 3.08 posi
Re: Help me implement this into TP (total fuel used), and what's wrong with...
RBob is correct. I'll have to add provisions for counter rollover in the ScannerPro code. This will also be critical for knock count histograms, etc, for keeping running total of knocks in the various histograms cells.
Thread Starter
Member
iTrader: (2)
Joined: Mar 2006
Posts: 236
Likes: 0
From: Hudson, OH
Car: '87 Formula
Engine: Ramjet 350
Transmission: T56
Axle/Gears: 3.23
Re: Help me implement this into TP (total fuel used), and what's wrong with...
Thanks, that would be awesome. I wanted to be able to calculate mileage from it. Have you thought about customizable functions, such as mileage where you could take the accumulated mileage over accumulated fuel used (which you could get from acc. BPW)?
Off topic but I plan to (some time) put in some sort of data display. I was thinking of using a microcontroller and LCD module and writing my own software to output sensor and other data to the LCD but the way your newer software is looking, I may just use it, running on an old laptop, output to a small LCD monitor. Be a lot easier anyhow. Eh anyhow I'm done with my tangent.
Off topic but I plan to (some time) put in some sort of data display. I was thinking of using a microcontroller and LCD module and writing my own software to output sensor and other data to the LCD but the way your newer software is looking, I may just use it, running on an old laptop, output to a small LCD monitor. Be a lot easier anyhow. Eh anyhow I'm done with my tangent.
TGO Supporter
Joined: Jan 2000
Posts: 1,861
Likes: 0
From: In your ear. No, the other one.
Car: '89 Trans Am WS6
Engine: 350 TPI
Transmission: T5WC
Axle/Gears: 3.08 posi
Re: Help me implement this into TP (total fuel used), and what's wrong with...
Thread Starter
Member
iTrader: (2)
Joined: Mar 2006
Posts: 236
Likes: 0
From: Hudson, OH
Car: '87 Formula
Engine: Ramjet 350
Transmission: T56
Axle/Gears: 3.23
Re: Help me implement this into TP (total fuel used), and what's wrong with...
Nice, I haven't looked too far into SP, so I must've missed it.
Thread
Thread Starter
Forum
Replies
Last Post
Ghettobird52
Tech / General Engine
16
Jul 5, 2024 11:18 PM
evilstuie
Tech / General Engine
22
Jan 9, 2020 08:29 PM





