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.

FlyByWire A320 in AAO: All A:A32NX_AUTOPILOT_ACTIVE Zero

Featured Replies

Hey,

I am right now working on lighting up my LEDs on the xTouch Mini with the fbw a320 - and therefore reading A:Simvars like (A:AUTOPILOT FLIGHT DIRECTOR ACTIVE, Bool) or (a:A32NX_AUTOPILOT_ACTIVE, Bool) and many others.

So, for e.g. the Baro reference I get values but the aforementioned variables ALWAYS deliver 0. (The LS, LOC etc, too)

I am able to send commands to the simulator as well as read some specific values, yet, the fcu-stuff does not change nor deliver any value > 0.

Is there any precondition I am missing? Anything that has to be done to make these values work?

TY in advance!

  • Commercial Member
2 hours ago, Lawnsen said:

a:A32NX_AUTOPILOT_ACTIVE

This is wrong.

A: (aircraft) variables are those from the MSFS SDK - excusively. There is nothing aircraft specific among them - ever.

All the A32NX stuff are most likely LVars. Which you can read from the Sim in the Scripting menu.

Try:

(L:A32NX_AUTOPILOT_ACTIVE, Number)

All variable names are case sensitive and spaces must be set correctly too.

Make sure to read up on variables in MSFS, there are many different types.

Edited by Lorby_SI

LORBY-SI

  • Author

Ah thank you, that solved most of the problems, yet, the flight director status is still not readable though I tried K: and L: ...

But thx anyways!

  • Commercial Member
5 hours ago, Lawnsen said:

yet, the flight director status is still not readable though I tried K: and L: ...

K: are events, not variables. You cannot read anything from them.

"trying" IMHO is a complete waste of time. You need to do research first, for example in the MSFS SDK documentation. Or ask the aircraft developer what variable name and type is required for a certain component. They can do pretty much whatever they want, they just invent their own variables (the LVArs)

Simulation Variables (flightsimulator.com)

Edited by Lorby_SI

LORBY-SI

  • Commercial Member

I just checked, FBW was using the default variable in the past. Maybe it is still the same:

(A:AUTOPILOT FLIGHT DIRECTOR ACTIVE:1, Bool)

This is an indexed variable, as there is more than one FD status. Unfortunately Asobo doesn't say that in the SDK doc 😞

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.