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.

Longitude Speed Mode Variable

Featured Replies

I'm trying to find a way to switch between FMS and MAN on the Speed Mode knob. I have checked the behaviors in developer mode and located the position value for the two switches. However, I don't know what kind of variable "AUTOPILOT_Speed_Mode_Position" is and I can't find it in the sim events or sim vars in AAO. Does that mean this is an LVar?

  • Commercial Member

OK, I see. You were looking at the O: variable. You cannot use that one, that is an object variable that cannot be accessed from the outside.

The actual operation is controlled by this one (L:XMLVAR_SpeedIsManuallySet,·Number)
(it is called an "LVar" because of the "L:").
When you go to "Scripting->Read LVars from sim", AAO will collect all active LVars so you can use them directly.

Or you simply wrap the variable into RPN scripts:

FMS mode script
0·(>L:XMLVAR_SpeedIsManuallySet,·Number)

Man mode script
1·(>L:XMLVAR_SpeedIsManuallySet,·Number)

Toggle script
1·(L:XMLVAR_SpeedIsManuallySet,·Number)·-·(>L:XMLVAR_SpeedIsManuallySet,·Number)

Edited by Lorby_SI

LORBY-SI

  • Author

Ok that's what was confusing me since I didn't see L or H or B in the component variables drop down. I didn't know what an O: variable was. Thanks for the explanation and help.

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.