Results 1 to 7 of 7
  1. #1
    10+ Posting Member 601's Avatar
    Join Date
    Jul 2007
    Location
    Kiev, Ukraine
    Posts
    19
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    USB-Expansion & MasterCard. 5-th pin input problem

    Hi there!

    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!!!
    We’ve faced the same problem. An initial value of logical inputs 8, 17, 26, … (the 5-th physical pin in each group) is wrong. If we change the state of any input in the same group (not exactly the 5-th) everything starts working fine.

    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?

    Regards,
    Yakov.

  2. #2
    500+ This must be a daytime job kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    698
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Yakov,
    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.

    Regards,
    Nico Kaan

  3. #3
    10+ Posting Member 601's Avatar
    Join Date
    Jul 2007
    Location
    Kiev, Ukraine
    Posts
    19
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Quote Originally Posted by kiek View Post
    Yakov,
    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.

    Regards,
    Nico Kaan
    Hi Nico!

    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…

    Yakov.

  4. #4
    500+ This must be a daytime job kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    698
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Yakov,
    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.

    Cheers,
    Nico

  5. #5
    10+ Posting Member 601's Avatar
    Join Date
    Jul 2007
    Location
    Kiev, Ukraine
    Posts
    19
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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…
    Attached Images Attached Images

  6. #6
    10+ Posting Member 601's Avatar
    Join Date
    Jul 2007
    Location
    Kiev, Ukraine
    Posts
    19
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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!

    Regards,
    Yakov.

  7. #7
    500+ This must be a daytime job kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    698
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Yakov,

    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.

    Nico

Similar Threads

  1. Problem with usb Expansion card
    By Depth08 in forum OpenCockpits General Discussion
    Replies: 4
    Last Post: 11-03-2010, 03:11 PM
  2. Connecting Mastercard to USB Expansion
    By colt45 in forum OpenCockpits General Discussion
    Replies: 3
    Last Post: 08-10-2010, 04:57 PM
  3. Problem: uncontrolled Power input from AT with LVL mode
    By Jan Pemöller in forum PM General Q & A
    Replies: 2
    Last Post: 08-02-2009, 12:25 PM
  4. OpenCockpits USB Expansion
    By kikigey89 in forum I/O Interfacing Hardware and Software
    Replies: 0
    Last Post: 03-22-2009, 04:28 PM
  5. Mastercard Outputs Problem?
    By Buddym in forum OpenCockpits General Discussion
    Replies: 0
    Last Post: 03-02-2009, 05:05 PM