Sign in to follow this  
Guest Dylan

FSBUS and transponder

Recommended Posts

Hi all,I'm trying to assign FSBUS output to FS2004 but i can't figure how to assign transponder settings.If i set XPONDR as FS destination for a switch or rotary i only can change the 4th number of transponder that makes other numbers increasing after it.How can i assign 4 switches or rotarys, one for every number of transponder to change each number only from 0 to 7 ?Thanks in advanceDylan

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I think you're going to have to write some code to break it out. FS stores the whole transponder number as a single 4 digit BCD (It's at Hex0354 if you're using FSUIPC)I think you'll need to write code that, for example, adds 100 to the value of 0354 if you turn the second digit knob one click.Richard

Share this post


Link to post
Share on other sites

Hey there,Assign two separate rotaries to XPNDR. Set the first to a step of 1.The second to a step of 64. It'll work. The first rotary will move the last two digits. The other one the first two digits.Cheers.

Share this post


Link to post
Share on other sites

Hi and thanks all for replyes,i tried with four rotary switches with step 1,8,64,512 and it work perfectly but unlucky after the "7" number it carries the left digit one up and reset "7" to "0".I mean after 0007 it shows 0010 instead of 0000 again.Is there a way to fix it?ThanksDylan

Share this post


Link to post
Share on other sites

HI Dylan, Another solution would be to actually use BCD rotaries, FSBus supports these however I have not tried it yet to confirm it works, you should be able to setup four seperate BCD rotaries, one for each digit just like a real xponder, I think you can get them with a configurable stop too, so you can set them up to only rotate seven positions.Glenn.

Share this post


Link to post
Share on other sites

Hi,today, only bcd switch is working with a single. But in foreseeing future i will add support to other switch types.regards

Share this post


Link to post
Share on other sites

Dirk, is it possible to have a rotary output key event "a" when rotated up, and event "b" when rotated down? with those you could make each rotary make key events and bind those to the FSUIPC keyboard things like XPDR_1000_INC, XPDR_100_INC, XPDR_10_INC, XPDR_1_INC etc../Tuomas

Share this post


Link to post
Share on other sites

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
Sign in to follow this