Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I've configured an RP48 in FSUIPC to use an encoder and button to operate the SB3 transponder using offsets: Encoder for mode, x7b91 and Button for ident, x7b93. I then used GFDiaplay to flash the button's LED when x7b93 was activated.

The ideal beheavior is to have the LED turn on (steady) when the transponder is in mode C, Flash during ident and return to Steady. I think this is possible with the case statements disucssed in the manual but I am unsure how to proceded.

Can someone please share a similar code-snippet with me?

- Chris

Posted

:D With a little more study and experimentation, I was able to solve the problem by adding two items to the conditions list and then modifying my code.

[Conditions]

49=X7B91 U8 =0 ; SB3 Transponder mode C

50=X7B93 U8 =1 ; SB3 Transponder IDENT active

[GFRP48.0]

Needs=E B

B=8

L7.1=!C50 X7B91 U8 =0; SB3 Transponder mode C

L7.2=C49 X7B93 U8 !=0 Ff4off; SB3 Transponder IDENT active

Posted
:D With a little more study and experimentation, I was able to solve the problem by adding two items to the conditions list and then modifying my code.

Well done! I like to see folks solving things quicker than me!

Regards

Pete

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

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.