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.

LVAR not working for Vision Jet

Featured Replies

Hi there,

I'm trying to set up AAO to switch between Auto-Throttle FMS and Manual in the Vision Jet in MSFS. According to mobiflight (and their Discord server), the command should be:

(L:SF50_push_at_fms_man, Bool) ! (>L:SF50_push_at_fms_man) 

This is what I have in Axis and Ohs, but it simply doesn't work:

spacer.png

In their Discord, they showed another app and it's working for them (it's also documented in the Vision Jet .PDF manual)

What am I missing here?

Thanks!

  • Commercial Member
19 minutes ago, Nitrium said:

What am I missing here?

AxisAndOhs User Manual, chapter about Scripting, section about "Local variables (L: vars):" Be mindful that the RPN dialect of AAO is not just a replica of the SDK - it cannot be compared to other apps. It has a lot more operators, control structures and commands.

First - When LVars are to be synchronized with the sim, you MUST always supply the proper Unit. Otherwise the LVar is only used for internal processing and never leaves AAO.
Second - the script in your screenshot does nothing. It only reads the LVar, it doesn't write to it. Use (> to write to a variable.

Example 1

(L:SF50_push_at_fms_man,·Bool)·!·(>L:SF50_push_at_fms_man,·Bool)

Example 2

1·(L:SF50_push_at_fms_man,·Number)·-·(>L:SF50_push_at_fms_man,·Number)

Example 3

1·(>L:SF50_push_at_fms_man,·Number)

Example 4

0·(>L:SF50_push_at_fms_man,·Number)

Edited by Lorby_SI

LORBY-SI

  • Author
11 hours ago, Lorby_SI said:

AxisAndOhs User Manual, chapter about Scripting, section about "Local variables (L: vars):" Be mindful that the RPN dialect of AAO is not just a replica of the SDK - it cannot be compared to other apps. It has a lot more operators, control structures and commands.

First - When LVars are to be synchronized with the sim, you MUST always supply the proper Unit. Otherwise the LVar is only used for internal processing and never leaves AAO.
Second - the script in your screenshot does nothing. It only reads the LVar, it doesn't write to it. Use (> to write to a variable.

Example 1

(L:SF50_push_at_fms_man,·Bool)·!·(>L:SF50_push_at_fms_man,·Bool)

Example 2

1·(L:SF50_push_at_fms_man,·Number)·-·(>L:SF50_push_at_fms_man,·Number)

Example 3

1·(>L:SF50_push_at_fms_man,·Number)

Example 4

0·(>L:SF50_push_at_fms_man,·Number)

D'oh! Thank you, Lorby. I'm not very familiar with RPN and MSFS, but there ya go, I learned something new today. Thanks again, works great!

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.