Jump to content
Sign in to follow this  
Guest Dylan

FSBUS and transponder

Recommended Posts

Guest Dylan

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

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
Guest romeo_charlie

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
Guest Dylan

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
Guest Glenn Weston

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
Guest dirkan

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...