Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Comprehensive list of PID operators and functions

Pages: 1 2 3 4 5 6 [7]
Author Topic: Comprehensive list of PID operators and functions
prachi
Member
Posts: 5
Post Re: Comprehensive list of PID operators and functions
on: July 9, 2020 (GMT)

Nice Information

mobile application development companies in Singapore
top mobile app development companies in Sydney

I am Prachi Currently associated with DxMinds Technologies Inc
As a digital marketing executive. DxMinds is the top Mobile App Development and Digital Transformation Company in globally

santa2003007
Member
Posts: 30
Post Re: Comprehensive list of PID operators and functions
on: September 28, 2020 (GMT)

Hi Ian Hawkins.
Yes, I also confirm that saving parameters in the program does not work.
After restarting the program, the value may be zero.
1. Ian Hawkins add a separate function for saving a parameter and writing values to the profile.
People have been waiting for it for 9 months!
2. you Need a cumulative function in which the parameter was accumulated and the value in it was not reset.
3. Also, another very necessary function: IF, THEN, OTHERWISE.

WHAT’S THE PROBLEM?
WHY DON’T YOU ANSWER PEOPLE’S MESSAGES! :)

Steve_P
Member
Posts: 25
Post Re: Comprehensive list of PID operators and functions
on: June 17, 2021 (GMT)

Why are my posts all blank and blocked?

O.Bricis
Member
Posts: 2
Post Re: Comprehensive list of PID operators and functions
on: July 29, 2021 (GMT)

Quote from frodus on March 7, 2014
I’ve compiled a comprehensive list of PID operators and functions from various posts into one thread. If you know of any additional, post below and I will edit this post and try to keep near the top,or if Ian can STICKY, that’d be awesome.

I’ve found these:

* — multiply, example 256*A
/ — Divide, example A/10
+ — Add, example 256*A+B
— Subtract, example B-10
& – Logical AND, example A&4
() — precedence operator, example (256*A+B)*0.1
{A:b} — returns the bth bit of the byte A. Least significant bit is 0, example A = 00001010b = 09h, {A:0} = 0; {A:1} = 1
[XX] – returns the value of a PID, where XX is the ID of the OBD2 sensor. i.e. [0d] (speed) or [ff1001] (gps speed)
Baro() returns barometer psia from [33] – Vehicle or [ff1270] – Phone.
A^B – returns A to the power of b
Log10(A) – returns the Log(base 10) of A
SIGNED(A) returns decimal value of A assuming highest bit is a sign bit
ABS(A) returns absolute value of A
VAL{sensor name} returns the value of the sensor, make sure this matches exactly. Sensor names are their untranslated names.

Piemmm,

Do you have a full list of all the math that is available? Even if you email it to me, I can write it up and document it here. I just don’t know if there are any more available.

Also, suggest having a MIN() and MAX() that returns a running minimum or maximum of a particular PID.

O.Bricis
Member
Posts: 2
Post Re: Comprehensive list of PID operators and functions
on: July 29, 2021 (GMT)

Quote from frodus on March 7, 2014
I’ve compiled a comprehensive list of PID operators and functions from various posts into one thread. If you know of any additional, post below and I will edit this post and try to keep near the top,or if Ian can STICKY, that’d be awesome.

I’ve found these:

* — multiply, example 256*A
/ — Divide, example A/10
+ — Add, example 256*A+B
— Subtract, example B-10
& – Logical AND, example A&4
() — precedence operator, example (256*A+B)*0.1
{A:b} — returns the bth bit of the byte A. Least significant bit is 0, example A = 00001010b = 09h, {A:0} = 0; {A:1} = 1
[XX] – returns the value of a PID, where XX is the ID of the OBD2 sensor. i.e. [0d] (speed) or [ff1001] (gps speed)
Baro() returns barometer psia from [33] – Vehicle or [ff1270] – Phone.
A^B – returns A to the power of b
Log10(A) – returns the Log(base 10) of A
SIGNED(A) returns decimal value of A assuming highest bit is a sign bit
ABS(A) returns absolute value of A
VAL{sensor name} returns the value of the sensor, make sure this matches exactly. Sensor names are their untranslated names.

Piemmm,

Do you have a full list of all the math that is available? Even if you email it to me, I can write it up and document it here. I just don’t know if there are any more available.

Also, suggest having a MIN() and MAX() that returns a running minimum or maximum of a particular PID.

Pages: 1 2 3 4 5 6 [7]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.123 seconds.

  Follow me on twitter