Jump to content
Sign in to follow this  
hewald

NAV-Source-change PFD (CDI-Button) with keyboard

Recommended Posts

Hi together,

i try to figure out if it is possible to change the NAV-Source (CDI-button = GPS, VOR 1, VOR2) on G1000-PFD with FSUIPC.
I checked a lot of FSUIPC-commands but couldn`t find a solution.

Thanks for the answer.

Regards Herbert

Share this post


Link to post
Share on other sites

The command you are looking for in FSUIPC is TOGGLE GPS DRIVES NAV1. This will choose either GPS or Nav 1 as the navigation source, however it will not properly switch the G1000 CDI display, as it relies on a local variables which FSUIPC will not be able to access directly.

To control the G1000 display you have to use a LUA script for FSUIPC. You will need to change the values of the Local variable (L:G1000_CDISource, enum) with values 0 [GPS], 1 [NAV1], and 2 [NAV2]. Then if NAV1 or NAV2 is selected, you need to assign a value to the (L:G1000_SelectNav) variable which controls the Nav1 [0] or Nav2 [1] rose display. Lastly, for each CDI_source value you have to test the state of the (A:GPS DRIVES NAV1, bool) and toggle on (for GPS)  or off (for NAV1-2) as required.

Search the different forums for FSUIPC LUA Scripts G1000. Someone has probably done this before, and might have shared the script online.

Good luck,

Jorge
 


Regards,

Jorge

i9 10900KF 5.3 \ ASUS Maximus Hero XII \ GigaByte RTX 2080Ti GAMING OC 11GB \ 32GB G.SKILL Z DDR4 3200MHZ \ ASUS ROG 34" UHD monitor\
Samsung 950 PRO M.2 NVME 500GB C Drive \ 4 - 1TB Samsung 860 EVO \ Windows 10 PRO v2004 \ P3DV4.5 \ P3DV5 \ MSFS 2020 PD Ed. \
Thrustmaster Pendular Rudder 1600M FCS \ Saitek Pro PZ45 Throttle Quadrant \ Honeycomb Bravo Throttle Quadrant

Share this post


Link to post
Share on other sites
9 hours ago, jfrex said:

The command you are looking for in FSUIPC is TOGGLE GPS DRIVES NAV1. This will choose either GPS or Nav 1 as the navigation source, however it will not properly switch the G1000 CDI display, as it relies on a local variables which FSUIPC will not be able to access directly.

To control the G1000 display you have to use a LUA script for FSUIPC. You will need to change the values of the Local variable (L:G1000_CDISource, enum) with values 0 [GPS], 1 [NAV1], and 2 [NAV2]. Then if NAV1 or NAV2 is selected, you need to assign a value to the (L:G1000_SelectNav) variable which controls the Nav1 [0] or Nav2 [1] rose display. Lastly, for each CDI_source value you have to test the state of the (A:GPS DRIVES NAV1, bool) and toggle on (for GPS)  or off (for NAV1-2) as required.

Search the different forums for FSUIPC LUA Scripts G1000. Someone has probably done this before, and might have shared the script online.

Good luck,

Jorge
 

Hi Jorge,

thanks for your answer. I will try to follow your instructions.

Regards Herbert

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...