DARKLAND Posted August 8, 2011 Report Posted August 8, 2011 Hello; I'm using a GoFlight module to simulate the rotary dial of the transponder to go from off to alt, but I can't find in the XPNDR area of the commands a code to go thru off,sby,on,alt, Please can you help. Thank you for your time; Miguel
Pete Dowson Posted August 8, 2011 Report Posted August 8, 2011 I'm using a GoFlight module to simulate the rotary dial of the transponder to go from off to alt, but I can't find in the XPNDR area of the commands a code to go thru off,sby,on,alt FS doesn't simulate those selections in any case. You only really use them if you fly on-line with Squawkbox or FSInn. Then you'd assign whatever keystrokes or controls they need. Regards Pete
Delta14Sierra Posted August 25, 2011 Report Posted August 25, 2011 I'm using a GoFlight module to simulate the rotary dial of the transponder to go from off to alt, but I can't find in the XPNDR area of the commands a code to go thru off,sby,on,alt, if ipcPARAM == 1 then value = ipc.readLvar("L:XPDR_State") -- Reads XPDR Selector State if value < 5 then value = value + 1 ipc.writeLvar("L:XPDR_State", value) end end if ipcPARAM == 2 then value = ipc.readLvar("L:XPDR_State") -- Reads XPDR Selector State if value > 0 then value = value - 1 ipc.writeLvar("L:XPDR_State", value) end end
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now