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.

ngx_switch_xxx variable. What for?

Featured Replies

Hi,

 

I have found the variable "ngx_switch_104_a" (and a lot of them changing the number) across a lot of functions defined in the PMDG 737 NGX 4.5 module.

What are they for, how can be used and where can I find a list with the descriptions of all of them (from ngx_switch_1_a to ngx_switch_999_a)?

Thanks in advance,

 

Jose

Hi,

 

I have found the variable "ngx_switch_104_a" (and a lot of them changing the number) across a lot of functions defined in the PMDG 737 NGX 4.5 module.

What are they for, how can be used and where can I find a list with the descriptions of all of them (from ngx_switch_1_a to ngx_switch_999_a)?

Thanks in advance,

 

Jose

 

 

The ngx_switch_xxx LVars are PDMG's method of determining the position of the various switches. This information is only released to approved developers.

 

You can use the LINDA Tracer to find the appropriate xxx value for each simulation button. Once you know the offset number a LINDA function has to test the LVar and then set it to simulate the pressing of the button by using ipc.control function using the base variable + the offset number and to write the changed value to the LVar. You will see plenty of samples in the PMDG737NGX module code.

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

Thanks for the explanation.

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.