how to define range for a value (A222.DS)

Discuss anything TunerPro related.

Moderators: Mangus, robertisaar, dex

Post Reply
LittleNo
Posts: 26
Joined: Fri Jun 24, 2005 9:11 am
Location: Munich, Germany
Contact:

how to define range for a value (A222.DS)

Post by LittleNo »

take a look at byte 27 in A222.DS - this value has to be devided; how do i have to set the range correctly that it shows the 0-100 %?

same question for byte 10 after the simplification to match the fields in TunerPro?
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

It's a byte, so it ranges from 0-255. 255/2.56 = 99.9 (%). You don't have to do anything. It's already set up.

by the way, X/2.56 is the same as X * 1/2.56 is the same as X * 0.390625.
***************************************
TunerPro Author
1989 Trans Am
LittleNo
Posts: 26
Joined: Fri Jun 24, 2005 9:11 am
Location: Munich, Germany
Contact:

Post by LittleNo »

that was what i thought

look how it shows this value in the monitors: http://www.lnoperformance.de/files/tp.jpg

the value itself seems to be correct, shows the position the throttle actually has
LittleNo
Posts: 26
Joined: Fri Jun 24, 2005 9:11 am
Location: Munich, Germany
Contact:

Post by LittleNo »

LittleNo
Posts: 26
Joined: Fri Jun 24, 2005 9:11 am
Location: Munich, Germany
Contact:

Post by LittleNo »

i played a bit with it, it does that with all values where it hast to do a divison - all others are ok
User avatar
Mangus
TunerPro Author
Posts: 1926
Joined: Wed Mar 19, 2003 1:49 pm

Post by Mangus »

Set it to use multiplication (not division), with a factor of 0.390625.
***************************************
TunerPro Author
1989 Trans Am
Post Reply