GTX 327 Transponder
-
Hello.
I have a question regarding the FUNC mode in this transponder. I need to obtain information from the simulator about which exact mode is currently active.
Of course, I can change the mode using the H:TRANSPONDER_Push_FUNC event. However, that is not sufficient for my solution. I am using SPAD.NEXT and replicating this transponder on a StreamDeck PLUS. In order to maintain full synchronization with the simulator, I need the information directly FROM THE SIMULATOR about the currently selected mode. A local variable will not solve this in my case.
And a second question: based on which variables is the PRESSURE ALT value in this transponder calculated?
Thank You
-
https://docs.flightsimulator.com/msfs2024/html/6_Programming_APIs/SimVars/Aircraft_SimVars/Aircraft_RadioNavigation_Variables.htm
Transponder State looks like what you're looking for. If you are using 2020, it looks to be the same variable with the same enums: https://docs.flightsimulator.com/html/Programming_Tools/SimVars/Aircraft_SimVars/Aircraft_RadioNavigation_Variables.htm
-
Thank you for your reply. Unfortunately, that’s not what I’m looking for, because the variable you mentioned represents the transponder STATE itself — meaning whether it is ON, OFF, ALT, or STBY (and in some other transponders there is also a TST state).
What I am trying to get is the currently selected function that is chosen using the FUNC button on this device. These are additional features such as count-up timer, count-down timer, countdown from a preset time, pressure altitude, total flight timer, outside air temperature, and density altitude.
I suspect this is not covered by the default simulator variables, since this seems to be something more custom and specific to the Garmin GTX 327 itself. However, since the functions visibly change on the virtual display of the transponder, there must be something internally that holds the state of the currently selected function.
-
Normally, I would offer you a custom code solution to extract that state from my software as an L:Var, but the GTX 327 is the only piece of default avionics still in use in my aircraft. I've been meaning to create my own version for ages now, but I know it's also low on the priority list for most of my users. You can still make an edit to the default simulator's files to get what you want, but be prepared for it to reset every time the simulator updates. You can also make a package with an improved GTX 327 to keep in your community folder. I would be happy to give you some pointers on that, if you need any.