PDA

View Full Version : Opencockpits I/O addressing



Brodhaq
09-21-2013, 12:20 PM
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

http://www.brodhaq.hu.cz/P9211159.JPG

Perik
09-22-2013, 08:00 AM
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 (http://www.opencockpits.com/uploads/manuales/IOCard_USB_Outs_Manual_2012_REV1_English.pdf)for the board and as well
take a look at the DisplayII board Manual (http://www.opencockpits.com/uploads/manuales/IOCard_Displays_II_Manual_2012_REV2.2_English.pdf)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 (http://www.lekseecon.nl/)is a great source - not sure if he has written any specific for the Outs Card though.

AUA171
09-23-2013, 04:58 AM
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

Brodhaq
09-23-2013, 06:41 AM
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