- Messages
- 2
- Country

Hello World!
I'm brand new to the FSX development but trying my best to create external transponder. I'm just trying to read Squawk code from FSX using Simconnect API and managed code libraries. Works well as instant requesting "TRANSPONDER CODE:1", but I don't like the approach where data are being pulled from FSX, while there is a system for event notification triggered by FSX (it has also a performance impact).
Thus I've switched from pulling to asynchronous model with events subscriptions and I'm stuck: I found a lot of XPNDR-related events in simconnect SDK reference like changing single digit of the code, w. or w/o carry, etc.
It works well but I'm sure there are other events that may change the squawk in fsx and my application will be aware of it, so is there any "general" transponder code change event fired, regardless of the reason of the change?
The first problem I've identified is that the above doesn't work when squawk is changed as a result of ATC communication (i.e. when switching flight following from one center to another).
Thanks in advance for any help.
Peter
I'm brand new to the FSX development but trying my best to create external transponder. I'm just trying to read Squawk code from FSX using Simconnect API and managed code libraries. Works well as instant requesting "TRANSPONDER CODE:1", but I don't like the approach where data are being pulled from FSX, while there is a system for event notification triggered by FSX (it has also a performance impact).
Thus I've switched from pulling to asynchronous model with events subscriptions and I'm stuck: I found a lot of XPNDR-related events in simconnect SDK reference like changing single digit of the code, w. or w/o carry, etc.
It works well but I'm sure there are other events that may change the squawk in fsx and my application will be aware of it, so is there any "general" transponder code change event fired, regardless of the reason of the change?
The first problem I've identified is that the above doesn't work when squawk is changed as a result of ATC communication (i.e. when switching flight following from one center to another).
Thanks in advance for any help.
Peter
