December 18, 20196 yr 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
December 20, 20196 yr 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
December 20, 20196 yr Author 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
Archived
This topic is now archived and is closed to further replies.