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.

Stream Deck Plugin: "true" between two values

Featured Replies

Hello there,

if I understood properly it is not possible to use "and" or "or" in the image definition or text definition in the stream deck plugin's multi gauge. Maybe anyone here has another solution to what I would like to achieve?

I currently am working on a Stream Deck profile for the Fenix A320. I would like two of the stream decks button to visualize the state of the thrust levers. It's no problem for all the detends of the thrust levers (e.g. TOGO, ClIMB), since they are full numbers: 0 = FULL Reverse, 1 = IDLE REVERSE, 2 = IDLE,... etc.

However, there is also ranges: one of which is that every number below 2 is in the reverse range. No problem to visualize that on the stream deck either. But there is the ATHR range, which ranges from 2 to 3. Does anyone here know of a way how I could set up an Image or Text definition for that?

Thank you in advance,

Danno

ngxu_banner.png

  • Commercial Member

Why would and/or operators not work?

By selecting type S: (script) you can use any RPN script code that AAO can understand. Just make sure that it returns the correct value (for example 0/1 when dealing with visibilty)

Edited by Lorby_SI

LORBY-SI

  • Author

@Lorby_SI: I was actually 100 percent certain I read that somewhere... now that you said it it makes perfect sense and I got it to work in no time.

 

Thank you so much for the eye opener. Much appreciated.

ngxu_banner.png

  • Commercial Member
1 hour ago, danno1502 said:

@Lorby_SI: I was actually 100 percent certain I read that somewhere... now that you said it it makes perfect sense and I got it to work in no time.

 

Thank you so much for the eye opener. Much appreciated.

No worries.

btw, technically the plugin only differentiates between "0" as false and "not 0" as true. The result doesn't have to be exactly "1" - as long as it is not "0", it will in most cases be interpreted as "true".

Edited by Lorby_SI

LORBY-SI

Create an account or sign in to comment

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.