Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Managed SimConnect - Problem with Var Category

Featured Replies

I'm using managed SimConnect with VB 8.When i try to retrieve variable "Category" which should be an enum value (0=airplaine,1=heli,2=AI aircraft) then i get 7498049 as result. Other values returned within the same structure are ok (values before and after my category field). I'm using INT32 as type for this value, tried a few other things with no success.Anyone having the same problem or can confirm?

I tried it and looked at the network traffic. It turns out that the data is not the number 0, 1 or 2, but a small text string ("Airp" for Airplane, "Heli" for Helicopter).Hmmm, interesting, but not exactly what I expected ...

Seen that way its perhaps also useful, just need to adjust the numbers in my enum definition a tiny tad. Right now using some heuristics to determine airplane or heli by engine type (heli's have their own turbine type).

  • Commercial Member

>I tried it and looked at the network traffic. It turns out>that the data is not the number 0, 1 or 2, but a small text>string ("Airp" for Airplane, "Heli" for Helicopter).>>Hmmm, interesting, but not exactly what I expected ...Maybe you could use the equivalent of FSUIPC offset 0609, i.e "ENGINE TYPE", which gives you 0 = piston (and some helos like the Robinson) 1 = jet 2 = sailplane, or anything with no engines 3 = helo turbine 4 = rocket (unsupported) 5 = turbopropRegardsPete

Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.