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.

Fenix A320 Runway Lights Toggle

Featured Replies

Hello, I've spent ages trying to get this to work, so would appreciate some guidance please.

I'm trying to assign one button to toggle the Runway Turnoff lights on the Fenix on/off.

I've found the local variable which is: L:S_OH_EXT_LT_RWY_TURNOFF

I can get it to work fine by setting the lights on with one button (1), and off with another button (0), but not as a toggle.

I've tried adding this custom key-down events:

1 (L:S_OH_EXT_LT_RWY_TURNOFF, Number) - (>L:S_OH_EXT_LT_RWY_TURNOFF, Number)

(L:S_OH_EXT_LT_RWY_TURNOFF, number) ! (>L:S_OH_EXT_LT_RWY_TURNOFF, number)

Neither is working.

I also notice that if I go back into the assignment and try to set it again to the Custom Event, it just shows:

L:1 (L (1 (L)

Thanks for any advice.

  • Commercial Member
26 minutes ago, RB74 said:

I've tried adding this custom key-down events:

What are "custom key down events"? Where exactly did you enter that code??

RPN code belongs into a script. "Scripting->Edit RPN Scripts". Give it a unique name and save it into a group of you choice. Then assign this script to your button.

Edited by Lorby_SI

LORBY-SI

  • Author

Assigned Button > Add New Button

Assigned button/key - set

Key Down Event - Drop Down - Add custom event

 spacer.png

  • Commercial Member
5 minutes ago, RB74 said:

Key Down Event - Drop Down - Add custom event

That is not what this is for. These dialogs are for entering native Simulator Events or Variables that you know the name of but AAO doesn't. They cannot contain code.

RPN code like yours belongs in to a script, as described above. See AAO manual, chapter about "Scripting". 

Edited by Lorby_SI

LORBY-SI

  • Author

Thank you very much for the explanation.  I understand now, and it is working as intended.

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.