04-21-2008, 09:43 AM #1
USB-Expansion & MasterCard. 5-th pin input problem
A320homecockpit wrote at OC forum:
I have a strange problem with my inputs.
I got 2 mastercards connected to usb expansion
both mastercards receive 5 volt (checked) from a computer power supply.
I have some swithes connected (not pushbutton but switches with OFF-ON)
Those switches which are connected to the last input of each inputblock (input 8 - 17 - 26 - 35 - 44 - 53 ...) and are in ON position when the controlador program or the SIOC start are not seen as ON but as OFF. When I switch the button of and on again then it is seen and everything works fine. Also for pushbuttons this is no problem because because they are not making contact upon start of the programs and when pushed they are seen.
I have send some emails to Niko Kaan in Holland and he also confirmed he has got the same problem as I have!!!
A starting value of 5-th input depends on number of mastercards in sioc.ini: if number of mastercards is 1 or 2 – the initial value of 5-th input is “1”; if 3 or 4 mastercards in use – the initial value of 5-th input is “0”.
Does anybody know, is there a solution?
04-21-2008, 02:48 PM #2
I don't think it is of much use to post this problem here. It seems to be something to be solved by the developers of IOcards and/or SIOC.
04-21-2008, 05:23 PM #3
I`ve posted this question at opencockpits forum, but I have little hope for quick bug fix, actually…
So I`m just looking for a different ways to overcome this issue (it`s really crucial for us now, because the one kind of our panels is specially designed to use ALL 9 inputs in a group). It forces us to find any possible way to get it work properly.
May be someone has a positive experience -- that is why I have posted here…
Now we are going to try to reset a Mastercards power, may be it can help – will see…
04-21-2008, 05:44 PM #4
One way to get around it is to rewire your inputs such that you connect a switch terminal (preferrably 1 of N of a rotary switch) that most likely is off at cockpit start up to logical input 9 of a group of 9. Then you have no problems.
But I'm very curious ofcourse to your findings.
04-21-2008, 06:37 PM #5
Thank you, Nico!
But we don’t deal with a rotary switch. We have a mechanical radio-compass panel that provides us with a binary code of frequency set. So we are not able to predict which frequency is set when cockpit starts…
04-28-2008, 06:37 PM #6
We’ve found a solution which works for us: a Mastercards’ power reset helps!
We use a relay that is controlled by SIOC-script – relay resets the Mastercards’ power when SIOC stars, and bingo – we have no mistakes anymore!
04-29-2008, 02:25 AM #7
That is a nice 'trick' indeed!
I've noticed that this problem also disappers if you start up SIOC for the second time (while MC is still powered). Hence, another solution for this problem, costing no extra hardware, would be to make a script that starts SIOC, stops it after 2 seconds and restarts it ... Worth a try, I think.
By Depth08 in forum OpenCockpits General DiscussionReplies: 4Last Post: 11-03-2010, 03:11 PM
By colt45 in forum OpenCockpits General DiscussionReplies: 3Last Post: 08-10-2010, 04:57 PM
By Jan Pemöller in forum PM General Q & AReplies: 2Last Post: 08-02-2009, 12:25 PM
By kikigey89 in forum I/O Interfacing Hardware and SoftwareReplies: 0Last Post: 03-22-2009, 04:28 PM
By Buddym in forum OpenCockpits General DiscussionReplies: 0Last Post: 03-02-2009, 04:05 PM