Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » IF(A>B); TRUE; FALSE)

Pages: [1]
Author Topic: IF(A>B); TRUE; FALSE)
santa2003007
Member
Posts: 30
Post IF(A>B); TRUE; FALSE)
on: January 31, 2020 (GMT)

Hello.

I can’t figure out and create a formula.

Pid 1 = [1F] – engine running time;

Pid 2 = MAX(VAL{Pid1}:VAL{Pid 2}) – (with the Store value global function)

Pid3 = Pid1 + Pid2

If Pid1 = Pid2, the Summation becomes incorrect, meaning that Pid3 = 2*Pid 1 is actually obtained.
Now Pid2 also grows by 1 every second.

In fact, you need to get:

If Pid1 < Pid2, it should display: Pid3 = Pid1 + Pid2. If Pid1 = Pid2, then Pid3 = Pid2 should be displayed. Can you tell me how to implement my task? It would be very nice if the developer still made the function of saving the parameter Pid [1F].

The developer promised such a function 2.5 months ago, but never did.

santa2003007
Member
Posts: 30
Post Re: IF(A>B); TRUE; FALSE)
on: February 3, 2020 (GMT)

People!

Does no one know and there are no options?
It is necessary to make a calculation of motor hours of the car relative to Pid [1F].

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

  Follow me on twitter