Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Alfa Romeo Giulietta - Current gear PID

Pages: [1]
Author Topic: Alfa Romeo Giulietta - Current gear PID
Pajo
Member
Posts: 37
Post Alfa Romeo Giulietta - Current gear PID
on: October 18, 2019 (GMT)

Hello all,
I played again with diagnostic software to make custom PID for current gear.

Here is what I discovered:
-> request = 22192D
-> reply = 62192D00 (reply is 0 because my current gear was N)
-> equation = A
-> header = da10f1

I drive out my Giulietta to get response for each gear and they are:
• neutral = 0
• gear 1 = 1
• gear 2 = 2
.
.
.
• gear 6 = 6
• reverse = 7

My question is:
Is it possible to make Torque showing “N” instead of “0” and “R” instead of “7”?

Thanks

cintakc
Member
Posts: 1663
Post Re: Alfa Romeo Giulietta - Current gear PID
on: October 18, 2019 (GMT)

https://torque-bhp.com/wiki/Equations
LOOKUP({VALUE}:{DEFAULT}:{KEY1}{OPERATOR}{VALUE1}:{KEY2}{OPERATOR}{VALUE2}:…etc)
Look up a value from a list of key/value pairs. Can be used to substitute values, reply with a text string, etc
Examples:
String, exact matching, returning a string:
LOOKUP(A::1=’moo’:2=’boo’)

LOOKUP((A&7)::0=’N’:1=’1’:2=’2’:3=’3’:4=’4’:5=’5’:6=’6’:7=’R’)

Pajo
Member
Posts: 37
Post Re: Alfa Romeo Giulietta - Current gear PID
on: October 18, 2019 (GMT)

Thank you, working like a charm!

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

  Follow me on twitter