February 14, 20224 yr I use Stream Deck and have a button (TextGauge) that listens to A:RECIP ENG FUEL TANK SELECTOR:1, Number. The return values are 0 (Closed), 2 (Left), 3(Right). The button displays "0", "2", or "3". I would like the button to display "Closed", "Left", or "Right". I presume I need to assign each of those strings to a L:AAO Local variable then use a 4th local variable to assign the results of an IF, ELS evaluation. Is there a more direct way to do this? Pseudo code for logic(not RPN): IF SimCode == 0, L:Result = L:Closed, ELS IF SimCode == 2, L:Result = L:Left, ELS L:Result = L:Right | i7-14700KF - 4080 SUPER | 32 GB RAM | Win 11 Pro | HC Bravo | AAO | StreamDeck |
February 14, 20224 yr Commercial Member Alternatively, use a Multigauge with as many text definitions as you need. For each text definition set the visibility parameter to the desired value of the A-Var, so only one of them is displayed. Edited February 14, 20224 yr by Lorby_SI LORBY-SI
February 14, 20224 yr Author 1 hour ago, Lorby_SI said: Alternatively, use a Multigauge with as many text definitions as you need. For each text definition set the visibility parameter to the desired value of the A-Var, so only one of them is displayed. Excellent, thank you!! | i7-14700KF - 4080 SUPER | 32 GB RAM | Win 11 Pro | HC Bravo | AAO | StreamDeck |
Archived
This topic is now archived and is closed to further replies.