Hi Peter,
I'm grabbing the TCAS data tables and am stumbling across a bunch of AI that have id set to zero (even though idATC is valid and the plane exists in the sim). I should add that I'm setting range to unlimited at E068 and F068 prior to grabbing the table.
Have you seen this before - that is, aircraft in the table with ids set to zero? It's a pain, because I can't do anything with them (for instance, the program I have deletes AI with the same callsign and flight number as me).
eg,
_ALL_AI thisScan (_ALL_AI is a collection of the 4 tcas tables)
FSUIPC_Read(0xF080, 3840, &thisScan.tcas1Air, &dwResult)
process
loop through 96 slots,
cout << thisScan.tcas1Air.id;
For me, some of these have idATCs for planes that are active and ids set to 0.
Cheers,
Bryn.