Results 1 to 6 of 6
  1. #1
    300+ Forum Addict Avro748's Avatar
    Join Date
    Dec 2012
    Location
    At the Controls
    Posts
    359
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Rotary Encoders and FSUIPC

    Well I'm stumped after five hours of this, so I decided to ask the public for help:

    I bought a set of rotary encoders and wired them to my input card. They're the kind of rotary encoders that will activate both inputs when you turn it, but in a different order depending on the direction (If I turn it left, input 2 will pulse, followed by input 1. If I turn it right, input 1 will pulse, followed by input 2). The problem is that if I set one of the inputs as an INCREASE function and the other one as a DECREASE function, the two will cancel each other out. I read through the users manual to try and figure out a way to do it manually in the FSUIPC ini, and came up with something that sort of works, but is very unreliable. Does anyone have a better method?

    Here is the ini section, in case I'm on the right track and a simple modification might fix it:
    Code:
    [Buttons.Avro 748]
    POLLINTERVAL=12
    BUTTONREPEAT=75,0
    BUTTONREPEAT=75,1
    1=CU(+0,1)0,0,C65880,0
    2=CU(+0,0)0,1,C65879,0
    Thanks

  2. #2
    300+ Forum Addict Avro748's Avatar
    Join Date
    Dec 2012
    Location
    At the Controls
    Posts
    359
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Rotary Encoders and FSUIPC

    Has anyone here had to work with this type of encoder?

  3. #3
    10+ Posting Member
    Join Date
    Dec 2010
    Location
    Netherlands
    Posts
    21
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Rotary Encoders and FSUIPC

    Perhaps you will have more luck to ge an answer on the Peter Dowson Forum, http://forum.simflight.com/forum/30-...owson-modules/

  4. #4
    300+ Forum Addict Avro748's Avatar
    Join Date
    Dec 2012
    Location
    At the Controls
    Posts
    359
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Rotary Encoders and FSUIPC

    Yeah, Pete is awfully quick to reply. I'll see if anyone here has any ideas, then if it doesn't sort out in a few days, I'll ask over there.

    Thanks

  5. #5
    500+ This must be a daytime job



    Join Date
    Jan 2007
    Location
    NEW ZEALAND
    Posts
    867
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Rotary Encoders and FSUIPC

    Hi,
    this may help you. There is also some examples in the SDK I believe.

    http://forum.simflight.com/topic/682...r-input-speed/

    Les

  6. #6
    300+ Forum Addict Avro748's Avatar
    Join Date
    Dec 2012
    Location
    At the Controls
    Posts
    359
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Rotary Encoders and FSUIPC

    Thanks, I'll be sure to check it out!