Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

Is there a way in the FSUIPC.ini file to make a value change by higher steps when an encoder is rotated fast and by one step

when it is rotated slowly ?

I have a 16 pulses/revolution encoder connected to a BU836 interface card and I want to drive a VOR OBI.

To make a full 360° dial rotation it takes 360/16 = 22,5 rotations wich is way too long (assuming no pulse is lost wich is of course not the case)

Any idea or hint ?

Thanks,

Cedric

Posted

Is there a way in the FSUIPC.ini file to make a value change by higher steps when an encoder is rotated fast and by one step

when it is rotated slowly ?

With most encoders that happens naturally because they send pulses faster when turned faster and slower when turned slower.

I have a 16 pulses/revolution encoder connected to a BU836 interface card and I want to drive a VOR OBI.

To make a full 360° dial rotation it takes 360/16 = 22,5 rotations wich is way too long (assuming no pulse is lost wich is of course not the case)

First you should make sure you program both the "press" and "release", which will give you twice as many operations -- two per complete pulse.

Second, don't turn the knob the long way. 180 degrees is the most you ever need to turn it.

Those two alone reduces it to less than 5 turns max.

Third, adjust the PollInterval, as described in the FSUIPC Advanced User's document, where it specifically mentions rotary encoders. Then you should miss few if any pulses.

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.