## Forums

#### Guest

Welcome Guest, posting in this forum require registration.

 Pages: [1]
Author Topic: The pid for trans gear works fine, can I pass it to letters?
warlockuy
Member
Posts: 6
 The pid for trans gear works fine, can pass L UNIT to letters?on: February 16, 2022 (GMT)

The pid for trans gear works fine, can I pass it to letters?
hello
i have this pid
Transgear automatic
221e23
it returns numbers
70 is P
60 is R
50 is N
46 is D
10 is M

In some way or formula, could I pass the numbers to letters?
You could do 5 pids with a minimum and a maximum of each number equivalent to each letter.
But I don’t know if you can or not some formula or something that 70 = P example
It’s possible ?
Thanks

Vasilich
Member
Posts: 210
 Re: The pid for trans gear works fine, can I pass it to letters?on: February 16, 2022 (GMT)

Hi,
try to use Lookup or closest functions:
wiki.torque-bhp.com/view/Equations

in your case it would be smth like
CLOSEST(A:A:10=’M’:46=’D’:50=’N’:60=’R’:70=’P’)

warlockuy
Member
Posts: 6
 Re: The pid for trans gear works fine, can I pass it to letters?on: February 16, 2022 (GMT)

<div class=”quote”><p>Quote from Vasilich on February 16, 2022
Hi,
try to use Lookup or closest functions:
https://wiki.torque-bhp.com/view/Equations#CLOSEST.28.7BVALUE.7D:.7BDEFAULT.7D:.7BKEY1.7D.3D.7BVALUE1.7D…..29

in your case it would be smth like
CLOSEST(A:A:10=’M’:46=’D’:50=’N’:60=’R’:70=’P’)</p></div>

Hi very very thanks
Thanks to you I understood how they worked
I used LOCKUP and it worked for me
Thank you very much I will play a little with the screen

 Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4