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.

gls button assignment

Featured Replies

The BAE 146 autopilot has  GLS and V/L buttons, but I have not been able to find  event codes other than the ones provided by Mobil flight. I am currently using A&O Demo to check out the various features, and I don't see any reference to these two events. How does A&O access these two events? thanks .

  • Commercial Member
3 hours ago, flyforever said:

The BAE 146 autopilot has  GLS and V/L buttons, but I have not been able to find  event codes other than the ones provided by Mobil flight. I am currently using A&O Demo to check out the various features, and I don't see any reference to these two events. How does A&O access these two events? thanks .

I am not familiar with Mobiflight - what "event codes" were you given? Are those LVars, HVars, BVars - ??

AAO doesn't need to "know" a simulator asset in advance. If you know the name and type of the variable or event you can just type it into an RPN script.

As far as I remember, the JF 146 uses LVars to control the buttons and switches. 
In this case that would be (L:MCP_Mode_GSL, Number) and (L:MCP_Mode_VL, Number)
Wrapped in RPN scripts:
1·(>L:MCP_Mode_GSL,·Number)

1·(>L:MCP_Mode_VL,·Number)

(you can use (L:MCP_Mode_ALT, Number) to check, that one always works. GSL/VL don't seem to turn on just like that.)

There are several ways to find those LVars

  • By asking the aircraft developer for a documentation of how to access the buttons and switches in the VC that he made
  • In AAO: "Scripting->Read LVars from sim" will acquire all visible LVars and you can access them in AAO when assigning buttons. "Visibile" means, that you should click on the desired buttons first, to make sure that the LVars are instantiated in MSFS. This only works for aircraft that actually use LVars.
  • In MSFS developer mode "Windows->Behaviors"
  • In the behavior definition file of the plane (\Community\justflight-aircraft-146\SimObjects\Airplanes\JF_146_100\model\JF_146_100_VC.xml)

Edited by Lorby_SI

LORBY-SI

  • Author

Thank you. Your pointing me to the AaO script read allowed me to find the event code for one of the two buttons. Your program is so full of features that's hard for a new person to figure it out, though it gets easier. The 20 minutes demo limit was not enough to continue with the other buttons, but I've seen enough to make me purchase it.

tc

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.