Hi Pete,
I am fighting a severe cold at the moment, so my thoughts may not be along the correct lines here but.
I have, as above, widefs client up and running on my development pc.
I have open, FSUIPC For Programmers, Page 17
offset hex 02BC, size 4, IAS(Indicated Air Speed)
I have adapted the freebie Visual Basic thingy (UIPC Hello) to read as follows:-
Private Sub Timer1_Timer()
Dim dwResult As Long
Dim auiTime() As Long
ReDim auiTime(4)
' If we wanted additional reads/writes at the same time, we could put them here
If FSUIPC_Read(&H2B4, 5, VarPtr(auiTime(1)), dwResult) Then
' "Read" proceeded without any problems
If FSUIPC_Process(dwResult) Then
' "Process" proceeded without any problems
lbl1.Caption = Format(auiTime(1), "0000.0000")
lbl2.Caption = Format(auiTime(2), "0000")
lbl3.Caption = Format(auiTime(3), "0000")
lbl4.Caption = Format(auiTime(4), "0000")
Else
' Unable to "Process"
lblClock.Caption = "Processing: " & ResultText(dwResult)
End If
Else
' Unable to "Read"
lblClock.Caption = "Reading: " & ResultText(dwResult)
End If
End Sub
I hoped I would see my Indicated Airspeed, but I see a repeating pattern of numbers that seem to bear no image of the flight sim model that is in progress.
It says, size =4, so I guess thats four bytes, 02BD, 02BF, 02C1 AND 02C3
The next offset is 02C4.... (agreed)
Someone point me in the right direction please....
Kaela