Results 1 to 4 of 4
  1. #1
    glider pilot Brodhaq's Avatar
    Join Date
    Oct 2008
    Location
    Czech Republic
    Posts
    68
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Opencockpits I/O addressing

    Hello,
    I have a - maybe stupid - question to somebody who knows the Opencockpits master card addressing. I have one master card (connected to USB expansion) and the additional outputs module there, shown on image. Using the first block of SIOC monitor outputs I can control individually the outputs in J2 connector, it works very well.

    Now how can I easily control the outputs on extension board? They work only with the ALL ON ALL OFF switches but it turns on all of them, not individually. And what does the second block of outputs in SIOC Monitor does? It seems to have no effect.

    Another question - has it something to do with the jumper on the extension board? Maybe if I connected one more extension board to the J1 cable on master card (as shown on the photo) I could get another 30 outputs, is it right?

    Thank you for reading,
    Pavel


  2. #2
    150+ Forum Groupie


    Perik's Avatar
    Join Date
    Aug 2007
    Location
    NORWAY
    Posts
    193
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits I/O addressing

    Hello Pavel,

    First, I don’t know this board in detail as I don’t have it.

    Anyway I suggest you read through the Manual for the board and as well
    take a look at the DisplayII board Manual as they utilize the same connecter on MasterCard
    and follow more or less the same addressing scheme. You can have 4 DisplayII boards or
    2 OutsCards or a combination as stated in the Manual.
    And remember, SIOC Monitor is foremost a “Monitor”. You can play with a few things, but
    I advise to go ahead with some simple SIOC coding.
    Nico is a great source - not sure if he has written any specific for the Outs Card though.
    Regards,
    Per-Erik
    www.hoddo.net

  3. #3
    25+ Posting Member
    Join Date
    Oct 2007
    Location
    Austria / Vienna
    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

    Re: Opencockpits I/O addressing

    Hi Pavel,

    like Per-Erik has written already you can connect 1 Outs-Card instead of 2 DisplayII-Cards. So instead of 32 7-Segment-Displays (2x16) you can address 32 outputs. Or 2 Outs-Cards instead of 4 DisplayII-Cards.
    In SIOC you can then manage each output individually with the following command:

    e.g.
    Var 0001, Name Outs00, Link IOCARD_DISPLAY, Digit 0, Nmbers 1
    Var 0002, Name Outs01, Link IOCARD_DISPLAY, Digit 1, Nmbers 1
    :
    :
    Var 0032, Name Outs31, Link IOCARD_DISPLAY, Digit 31, Nmbers 1

    To switch e.g. output 1 to ON you have to set ...

    &Outs01 = 1

    You can also adjust the intensity of the output with ...

    &Outs01 = 2
    &Outs01 = -999994
    &Outs01 = 10 // value 0 .. 15 for intensity

    br
    Christian

  4. #4
    glider pilot Brodhaq's Avatar
    Join Date
    Oct 2008
    Location
    Czech Republic
    Posts
    68
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Opencockpits I/O addressing

    Hello to both of you and thank you for help. I understood that there is no way how to easily control the outs card by the SIOC monitor but I will try directly the SIOC script.

    Regards,
    Pavel