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.

C310 LVAR detected as BVAR

Featured Replies

I’m mapping the Blackbird C310R EDM700 buttons using their LVARS. Three of the for buttons map correctly. The fourth L:C310_SW_EDMR_L ends up mapping in AAO as a BVAR. Any advice on where to look to troubleshoot the problem?

Edited by scottike

  • Commercial Member
58 minutes ago, scottike said:

Three of the for buttons map correctly.  The fourth L:C310_SW_EDMR_L ends up mapping in AAO as a BVAR.

I'm sorry, but I don't understand what that means. Can you be more specific?

What does "mapping" mean? Where are you seeing a "mapping" while doing what exactly?

Edited by Lorby_SI

LORBY-SI

  • Commercial Member

Just to lay down the general rules: AAO doesn't care if a variable name exists or not, it will try to process anything and everything. All these internal lists and the methods to read vars from the sim or from the XML files are only there to make finding variable names easier for the user - nothing more. You can just as well pick the variable names from the MSFS developer mode with the Ctrl&G method or from any resource on the Net.

AAO doesn't have to "know" a variable, you can always type any variable name directly into an RPN script. You can also add any variable name to the internal database if you want, so they can be selected directly for a button - but that is in no way required, and technically it makes no difference if you do this or call a script with your button. See the lower portion of the "Scripting" menu for adding variables and events to the database.

Edited by Lorby_SI

LORBY-SI

  • Author

I'm a basic user of AAO, so I'll just describe in more detail what I've done. With the Blackbird C310R loaded I selected Scripting -> Read LVARs from Sim in the AAO interface. Then I selected two simulator events from the Found in Files category, C310_SW_EDML_L and C310_SW_EDMR_L. 

Under the assigned buttons list there is L:C310_SW_EDML_L which functions as expected and B:C310_SW_EDMR_L which does not.

  • Commercial Member

If you are certain about the LVar name, go to "Scripting->Input custom variables manually" and add the variable name there

Or wrap it into an RPN script and assign that to your button. This has the benefit that you can test the code right in the editor to make sure that you got the name right (and that the value is correct too, it doesn't have to be "1")

1 (>L:C310_SW_EDMR_L, Number)

Edited by Lorby_SI

LORBY-SI

  • Author

I ended up putting it into an RPN script. The custom variables only had K: and B: selections, so I was unsure if they would work for an LVAR. In any case, the RPN script worked well, so I’m up and running.

Thanks for the help!

  • Commercial Member
3 hours ago, scottike said:

I ended up putting it into an RPN script. The custom variables only had K: and B: selections, so I was unsure if they would work for an LVAR. In any case, the RPN script worked well, so I’m up and running.

Thanks for the help!

I think that you were looking at the wrong dialog. What you describe is the "Input custom EVENTS manually" dialog. Right below that menu option is "Input custom VARIABLES manually".

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.