XPlane altitude always 0

Τεχνική υποστήριξη για το OAV ACARS. / Support fo OAV ACARS.
Post Reply
OAL109 Mike Ionas
Administrator
Administrator
Posts: 1276
Joined: Mon May 31, 2010 6:09 pm
Name: Mike Ionas
Callsign: OAL109

XPlane altitude always 0

Post by OAL109 Mike Ionas »

If ACARS is not reading correctly the altitude of the aircraft and is always displaying 0 as a value, open XPUIPCOffsets.cfg with a text editor (e.g. Notepad++) and add the following to the end of the file

Code: Select all

Dataref PosElevation	sim/flightmodel/position/elevation		float
Offset	0x34B0	FLOAT64	3	rw	$PosElevation
Dataref TotalFlightTimeSec	sim/time/total_flight_time_sec		float
Offset	0x04A8	FLOAT64	3	rw	$TotalFlightTimeSec
The altitude will be reported correctly now.
Image
Post Reply