Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » formula

Pages: [1]
Author Topic: formula
max_max
Member
Posts: 6
Post formula
on: March 6, 2019 (GMT)

Capp777, can I ask You a question.
You gave the formula:
https://torque-bhp.com/forums/?wpforumaction=viewtopic&t=5579.2
Quote from Capp777 on March 3, 2019

For comparison function I have been testing
something like…

lookup(Val{Scaled MAP Factor}::0=A:1~2550=A*(Val{Scaled MAP Factor}/255))

where variable A is from [0b] pid and factor
is from another pid.

If Factor = 0 then
…Equation = A
else
…Equation = A*(Factor/255)
Endif
———————————–
This formula does not work.
The problem is this:
Known bytes “A” and Pid “0x2210E2”.
You need to create a formula for this Pid to the indicator display only the maximum value of byte “A”.

max_max
Member
Posts: 6
Post Re: formula
on: March 7, 2019 (GMT)

Strange, this topic is why it was not available.

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.008 seconds.

  Follow me on twitter