Jump to content
The simFlight Network Forums

Search the Community

Showing results for tags 'f080'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Product Support Forums
    • FSUIPC Support Pete Dowson Modules
    • MyTraffic Support Forum
    • FeelThere Support Forums
    • FS Commander Support Forum
    • Flying W Simulation
    • AConstable Traffic Sounds Support Forum
    • Fabio Merlo Products Support Forum
    • Elite-Air Studio Support Forum
    • Nikola Jovanovic Support Forum
    • Intrasystems Support Forum
    • FScene Support Forum
    • Taburet & DanVFR Support Forum
    • Environ Scenery
  • simFlight DE
  • FS MAGAZIN (DE)
  • simRussia
  • FSUIPC Client DLL for .NET

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hey Pete, I have a C# application interfacing with WideClient. I'm able to read data just fine, however I am running into some problems reading traffic data. Setup: Prepar3d 3 with Ultimate Traffic 2 installed & running. FSUIPC installed running WideServer. Seperate computer runs WideClient & C# application. When running the simulator with UT2 there are maybe 50 or more AI aircraft loaded. The TCAS data I read seems unusable, no field is coming through as useful. I wonder if AI traffic is not transmitted to WideClient. When I view the raw bytes, for example, the first 8 or so are all 0. As I scroll through the raw data there are occasional bytes with values - however I can't find any 40-byte block that does not contains enough data to decode to anything useful. If you need I can reply with a screenshot of the raw byte data. My test method is as follows: private Offset<byte[]> airborneTraffic = new Offset<byte[]>(0x3840, 3840); // AI airborne aircraft traffic data (same format as the entry for E080) private void ProcessTraffic() { var t = airborneTraffic.Value; // (96x 40 byte array) for (int i = 0; i < 3840; i += 0) { // TCAS DATA var id = BitConverter.ToInt32(t, i); i += 4; // 0 = empty, otherwise this is an FSgenerated ID.FSUIPC makes this negative to distinguish FS entries from user added ones var lat = BitConverter.ToSingle(t, i); i += 4; var lon = BitConverter.ToSingle(t, i); i += 4; var alt = BitConverter.ToSingle(t, i); i += 4; var hdg = BitConverter.ToInt16(t, i); i += 2; var gs = BitConverter.ToInt16(t, i); i += 2; var vs = BitConverter.ToInt16(t, i); i += 2; var idAtc = Encoding.ASCII.GetString(t, i, 15).ToString(); i += 15; var bState = BitConverter.ToBoolean(t, i); i += 1; var com1 = BitConverter.ToInt16(t, i); i += 2; } } So question is, is my test method way off base, or is AI traffic not transmitted to WideClient? Thank you! Kent
×

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.