Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » adder of values

Pages: [1]
Author Topic: adder of values
santa2003007
Member
Posts: 30
Post value adder
on: February 5, 2020 (GMT)

Hello.

example:
Indicator values/response
1) 2456 sec => 2456-saving the value
the next value:
2) 3871 sec => 8783 (=2456+3871) – saving a value
the next value:
3) 1288 sec => 10071 (=8783+1288) – saving a value
the next value:
4) 2111 sec => 12182 (=10071+2111) – saving a value
the next value:
5) 4639 sec => 16821 (=12182+4639) – saving a value
the next value:
6) 992 sec => 17813 (=16821+992) – saving a value
the next value:
7) 7835 sec => 25648 (=17813+7835) – saving a value
the next value:
8) 9195 sec => 34843 (= 25648+9195) – saving a value
and so on…

The indicator should display: 38843 and remember this value until the subsequent restart of Torque.

To solve this problem, I think I need to make a value adder.
Tell us how to make the formula of the time value adder, with saving the final result, from the available functions in Torque
https://torque-bhp.com/wiki/Equations#SIGNED.28value.29
I tried a lot, but it hasn ‘t worked out yet.

Tell me how to make a time adder?

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

  Follow me on twitter