Jump to content
The simFlight Network Forums

Tiberiu

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Tiberiu

  1. Gentlemen, I am trying to get FSUIPC to access TCAS data. I have tried this code in my gauge, but for some reason the TCAS data is empty. I checked with TrafficLook.exe,a nd there are aircraft nearby. //In PANEL_SERVICE_PRE_INITIALIZE FSUIPC_Open2(FSReq, &Result, Mem, Size); //where I have these declarations right above the case statement DWORD FSReq = SIM_ANY; DWORD Result; BYTE Mem[1024]; DWORD Size=1024; //in PANEL_SERVICE_PRE_UPDATE FSUIPC_Read (0xE080, 96 * sizeof(TCAS_DATA), (BYTE *) ground, &Result); FSUIPC_Read (0xF080, 96 * sizeof(TCAS_DATA), (BYTE *) airborne, &Result); FSUIPC_Process(&Result); Sincerely, Tiberiu Brasov
×
×
  • 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.