Jump to content
The simFlight Network Forums

MSFS 2020 G1000 G58 check "Current State" of displayed VOR on HSI

Recommended Posts

Hi All,

I've been configuring a setup to run the G1000 G58 Baron in MSFS 2020.

I can set a value for say the CDI of VOR1 to something and have it sync to inbound track when actioned, but I would like it to only change the value of the currently displayed VOR.

For example with my current script below, if VOR1 is currently being displayed it will sync the track to the VOR station. Unfortunately it will also change the value and set it, even if the VOR2 is being displayed on the HSI. If switched back to VOR1 on HSI it will show the changed track.

val = ipc.readUW("0c50")
ipc.control(65716, val*360/65536)

What I need it to do is to check if VOR1 or VOR2 is currently displayed on the HSI, and only sync the CDI to inbound track on currently displayed VOR.

Is there any way I can extract the current displayed VOR with FSUIPC to cross reference the action?




Link to comment
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
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.