Results 1 to 2 of 2

Thread: Alt flap

  1. #1
    25+ Posting Member
    Join Date
    Nov 2010
    Location
    Perth
    Posts
    48
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Alt flap

    Hi Nico,

    I believe maybe I have stumbled on a bug.

    Q code, QH133 when you changing position the value will become 1, then if you move to the next position of the 3 position switch. The previous position will not change to 0, the next position will become 1. If you selected all 3 positions in sequence then all 3 position will be 1 at the same time. The switch then becomes unusable, as the switch positions are all 1 and no change is occurring.


    Cheers,

    Blake

  2. #2
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Alt flap

    Hi Blake,

    No, I don't think that's a bug.

    Qh133 is implemented as a Rotary Switch (indicated with "R" in the variable specification). Due to its mechanical construction only one of its terminals can be "1".

    If you are not using a rotary switch, you should code it such in your SIOC script that you emulate one... Thus in each position you should set the other position variables to "0".

    Cheers,
    Nico
    Last edited by kiek; 12-04-2014 at 12:37 PM.