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.

Read LVar to display correct toggle button image StreamDeck

Featured Replies

Hi there,

I am trying to make an autopilot panel for the new 737 with the StreamDeck plugin. 

As you can see, there is a toggle button with the lit CMD button as the ON image. However, the ON image does not show when ngx_MCP_CMDA = 1.000. This is an  LVar in MSFS. 

Is there something I may be doing wrong? I know for a fact the plugin is connected and working. I have tried the variable as S: and simply L: (without the L: in the variable entry)

spacer.png

  • Author

Nevermind, I was just missing the ", number" after it and overthinking it. Thanks anyway for the amazing software.

  • Commercial Member

Both are valid but there is a difference

  1. (L:whatever) is an AAO local variable. You can use it in RPN scripts for your own purposes, it is never synchronized with the sim. You would typically use this for counters or state variables that you  only need in your scripts
     
  2. (L:simvar, Number) is a simulator LVar where the value is synchronized with the simulator


Please make sure that you only use LVars with a unit when necessary. The interface to the sim is a limited resource and you don't want anything in there that doesn't belong. And I'd suggest getting into the habit of using the same syntax for the unit everywhere ", Number" (= comma - space - capital letter - rest). The variable names are case sensitive, so ,  number and , Number create two different assets targeting the same variable.

 

 

Edited by Lorby_SI

LORBY-SI

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.