Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » How to write new specific PIDs for import to Torque?

Pages: [1]
Author Topic: How to write new specific PIDs for import to Torque?
RKP
Member
Posts: 8
Post How to write new specific PIDs for import to Torque?
on: February 7, 2022 (GMT)

Hello everyone!
I need your advice very much.

I have some PIDs, which consist of several identifiers with their own units.
How to write correct strings in csv file for import to Torque?
I have several types of PID.

For example:
| PID | Identifier Name | Parameter number | Units | Size (Bits) |Resolution | Offset | min | max |
| 1111| Name 1 | 32 | km | 16 | 1 | 0 | 0 | 2000|
| 1111| Name 2 | 39 | kph | 8 | 0.5 | 0 | 50 | 150|
| 1111| Name 3 | 6 | Deg | 8 | 1 | -40 |-40 | 215|

2nd example:
| PID | Identifier Name | Parameter number | Size (Bits) | State Value | State Discription |
| 2222| Name 11 | 5 | 8 | 00 | State1 |
| 2222| Name 11 | 5 | 8 | FE | State2 |
| 2222| Name 11 | 5 | 8 | FF | State3 |
| 2222| Name 22 | 5 | 8 | 00 | State4 |
| 2222| Name 22 | 5 | 8 | FE | State5 |
| 2222| Name 22 | 5 | 8 | FF | State6 |

3rd example:
| PID | Identifier Name | Parameter number | Size in Bits Mltpl of 8b | Byte | Bit in Byte | Bit sequen Number | Bit Discription | 0 | 1 |
| 3333| Name55 | 0 | 32 | 1 | 7 | 31 | NameXX | 0 | 1 |
| 3333| Name66 | 0 | 32 | 11 | 5 | 29 | NameYY | 0 | 1 |
| 3333| Name&& | 0 | 32 | 2 | 7 | 23 | NameYY | 0 | 1 |

piemmm
Administrator
Posts: 6629
Post Re: How to write new specific PIDs for import to Torque?
on: February 7, 2022 (GMT)

Hi

Are these PIDs or CAN frames? (they look like can frames and you would need to write a DBC file if they are)

If they are indeed PIDs though, the easiest thing to do is to make some example PIDs (or just export some already) so you can see what the .csv export file would look like

The only real difference (and it’s not much) is that the PIDs use an equation rather than ‘offsets/multipliers’ which then allows for things to be a bit more flexible: https://wiki.torque-bhp.com/view/Equations

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

  Follow me on twitter