Jump to content
Sign in to follow this  
jvela

ngx_switch_xxx variable. What for?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...