Jump to content
The simFlight Network Forums

Recommended Posts

Posted
58 minutes ago, yindengxie said:

Today,  my program reads offset x0020 (4 bytes) or 0x0b4c (2bytes)

to get GROUND ALTITUDE, but these ground altitude values ONLY to show

current runway elevation. During flying, reading GROUND ALTITUDE values always

are same as the runway elevation, no change.

The Ground Altitude is just a straight copy from the value supplied to FSUIPC by SimConnect.  To check, go to the FSUIPC Options "Logging" tab. On the right-hand side enter 0020 as the offset and U32 at the type. Then check "Normal Log" below to get the values logged in FSUIPC's Log file as they change. You can also select FS Window to have it displayed in real time on screen, but the Log contains more details, such as exactly what Simconnect returns.

Pete

 

  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

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.