Hi Pete,
I am trying to read HDG but got some fantastic number like 121823238 however I can read speed and altitude normally. Could you please help me to solve this issue ?
my delphi code is :
procedure TFormMain.TimerUpdateTimeTimer(Sender: TObject);
var
dwResult : DWORD;
auiTime : Array[1..3] of Byte;
altitude:DWord;
IAS: DWord;
G_force: DWord;
St: DWord;
HDG: DWord;
begin
FSUIPC_Read($3324, 8, @altitude, dwResult); //
FSUIPC_Read($02BC, 4, @IAS, dwResult); //
FSUIPC_Read($11BA, 4, @G_force, dwResult);
FSUIPC_Read($0580, 4, @HDG, dwResult); //
FSUIPC_Process(dwResult);
Label4.Caption := IntToStr(round(altitude )) + ' ft';
Label5.Caption := IntToStr(round(IAS / 128)) + ' kt';
Label6.Caption := IntToStr(round( G_force/625));
Label7.Caption := IntToStr(round(HDG*360/65536*65536));
Thanks in Advance
Hikmat