Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Displaying sim variable as text

Featured Replies

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

WW5130.png

| i7-14700KF - 4080 SUPER | 32 GB RAM | Win 11 Pro | HC Bravo | AAO | StreamDeck | 

  • 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 by Lorby_SI

LORBY-SI

  • 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!!

WW5130.png

| 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.