Jump to content
The simFlight Network Forums

All PMDG offsets return 0


salvapatuel

Recommended Posts

 I dont know what I am doing wrong as this should be straight forward.

Open FSUIPC connection, I can read all the traditional offsets without problem but none PMDG

I am using Managed code and latest FSUIPC

Added the 
[SDK]
EnableDataBroadcast=1

'Example
Private InternalLDGLights As Offset(Of Short) = New Offset(Of Short)(&H6594)
FSUIPCConnection.Open()
FSUIPCConnection.Process()
InternalLDGLights.Value (Always comes as 0, no matter the state of the taxi lights switch

When I query the offsets they are all 0, any idea?

thanks

Edited by salvapatuel
Link to comment
Share on other sites

Please try logging the offsets using FSUIPC's offset logging facilities (Log -> Offsets) to check what they actually hold. Also check that you have them enabled in your FSUIPC7.ini with the following line under the [General] section:
    PMDG737offsets=Auto

Also check for the following line in your FSUIPC7.log file:
    65985 PMDG 737 offsets enabled

If that is all correct then it is an issue in your code - please use Paul Henty's sub-forum of using his dll client for .Net:

https://forum.simflight.com/forum/167-fsuipc-client-dll-for-net/

John

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.