Results 1 to 5 of 5
  1. #1
    75+ Posting Member Olympic260's Avatar
    Join Date
    Dec 2006
    Location
    Athens Greece
    Posts
    79
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Opencockpit cards strange problem

    Hello,

    First my setup. I am using 1 USB expansion card and two master cards. Each master card is tested and works OK connected to the USB by a DB25 M/F cable.

    Today I tryied to test both master cards connected. I connected the 5V power to all cards and connected Master1 to J1 of USB and Master 2 at J2. Also changed the ini files so that The number of cards are 2.

    Running controlador everything OK it recognises two cards. Tested the inputs on N1 master and everything OK, but when I test the inputs of master two they don't work as supposed. Closing Ground1 with Pin 1 at the controlador I am seeing all the inputs of this bank to be active pins (1-9) if I close ground2 with first pin of second bank I am getting the same so on.

    If I change the masters and the No1 becomes No2 and vice versa I have the same problem. In few wolrds any card connected to J2 of the USB has the same problem. I have checked all connection at the usb just in case but haven't found anything.

    Any suggestions???

    Chris
    Chris

  2. #2
    75+ Posting Member nricky's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    92
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Chris

    In your sioc.ini file die you set it up so it knows that you have a USB card connected and 2 Master Card. What I believe your ini file is not set up probably.

    You can send me your ini file and I will have a look at it. rick@nrick.net

    Here is a cool page about Opencockpits. http://personales.ya.com/micabina737...ard/test1i.htm

    Cheers
    Norbert

  3. #3
    75+ Posting Member Olympic260's Avatar
    Join Date
    Dec 2006
    Location
    Athens Greece
    Posts
    79
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Norbert I am not using SIOC yet. All the tests are made by Controlador program. As I wrote controlador says 2 cards connected. If there was only 1 master declared then the 2nd one wont work at all.

    Below are my ini files

    IOCARD.ini
    [ fichero de configuracion para el programa IOCARD ]
    [ Configuration file for IOCARD ]


    [ Uso de Expansiσn USB ]
    [ Iocard Master expansion USB ]
    USB=Yes

    [ Mϊltiples USBs ]
    [ Non unique USB ]
    MUSB=No

    [ Nϊmero de perifιrico para el USB ]
    [ USB Device number ]
    deviceUSB=2048

    [ Nϊmero de A/D a usar de la placa de Expansiσn USB ]
    [ A/D used by Iocard Master expansion USB ]
    USB_AD=0


    [ Puerto donde se encuentra conectada la IOCard Master ]
    [ Iocard Master, parallel port address ]
    Port=$0378


    [ Modo compatible yes/no , necesita cable especial ]
    [ Compatibility Mode yes/no, needed special cable ]
    FullCompatible=No


    [ Numero de tarjetas Master inter-conectadas ]
    [ Number of connected master cards ]
    NCards=2


    [ Utiliza placa de expansiσn yes/no]
    [ Use Expansion card yes/no]
    Expansion=Yes


    [ Activar en modo SIMULADOR yes/no]
    [ Use simulated card yes/no]
    simulator=no


    [ Retraso necesario para las variables toggles (Project Magenta)]
    [ Deley needed for var. toggles (Project Magenta) ]
    TOGGLE_DELAY=2


    [ Refresco de FSUIPC ]
    [ FSUIPC refresh ]
    FSUipcRefresh=100


    [ Desabilitar lectura de las FSUIPC ]
    [ FSUIPC disable mode yes/no ]
    FSUipcdisable=no


    [ Refresco de poll tarjetas Master ]
    [ Master cards refresh ]
    MasterRefresh=10


    [ Desabilitar protocolo IOCP ]
    [ IOCP disable mode yes/no ]
    IOCPdisable=yes

    [ Direcciσn IP local para el protocolo IOCP (UDP) ]
    [ IP address for IOC protocol (UDP) ]
    ioc_ip=127.0.0.1


    [ Puerto local para el protocolo IOCP (UDP) ]
    [ port for IOC protocol (UDP) ]
    ioc_port=8090


    [ Nombre y localizaciσn del fichero de configuraciσn ]
    [ Name and path of Config file ]

    ConfigFile=.\iocard.dat

    [ Nombre exacto de la ventana donde se enviarαn las teclas ]
    [ Name of window for key send ]
    [window = "Project Magenta Glass Cockpit - Build 396" ]

    window = "a.txt - Bloc de notas"


    [ End of File ]


    Controlador.ini

    [ fichero de configuracion para el programa CONTROLADOR ]
    [ Configuration file for CONTROLADOR ]

    [ Uso de Expansiσn USB ]
    [ Iocard Master expansion USB ]
    USB=Yes

    [ Mϊltiples USBs ]
    [ Non unique USB ]
    MUSB=No

    [ Nϊmero de perifιrico para el USB ]
    [ USB Device number ]
    deviceUSB=2048


    [ Nϊmero de A/D a usar de la placa de Expansiσn USB ]
    [ A/D used by Iocard Master expansion USB ]
    USB_AD=0


    [ Puerto donde se encuentra conectada la IOCard Master ]
    [ Iocard Master, parallel port address ]
    Port=$0378


    [ Modo compatible yes/no , necesita cable especial ]
    [ Compatibility Mode yes/no, needed special cable ]
    FullCompatible=No


    [ Utiliza placa de expansiσn yes/no]
    [ Use Expansion card yes/no]
    Expansion=no

    [ Activar en modo SIMULADOR yes/no]
    [ Use simulated card yes/no]
    simulator=no

    [ Numero de tarjetas Master inter-conectadas ]
    [ Number of connected master cards ]
    NCards=2


    [ Refresco de poll tarjetas Master ]
    [ Master cards refresh ]
    MasterRefresh=10


    [ End of File ]

    Config IO card ini

    [ fichero de configuracion para el programa IOCARD ]
    [ Configuration file for IOCARD ]

    [ Uso de Expansion USB ]
    [ Iocard Master expansion USB ]
    USB=yes

    [ Multiples USBs ]
    [ Non unique USB ]
    MUSB=No

    [ Numero de periferico para el USB ]
    [ USB Device number ]
    deviceUSB=2048

    [ Numero de A/D a usar de la placa de Expansion USB ]
    [ A/D used by Iocard Master expansion USB ]
    USB_AD=0

    [ Numero de tarjetas Master inter-conectadas ]
    [ Number of connected master cards ]
    NCards=2

    [ Utiliza placa de expansion yes/no]
    [ Use Expansion card yes/no]
    Expansion=No

    [ Activar en modo SIMULADOR yes/no]
    [ Use simulated card yes/no]
    simulator=no

    [ Refresco de FSUIPC ]
    [ FSUIPC refresh ]
    FSUipcRefresh=100

    [ Desabilitar lectura de las FSUIPC ]
    [ FSUIPC disable mode yes/no ]
    FSUipcdisable=no

    [ Refresco de poll tarjetas Master ]
    [ Master cards refresh ]
    MasterRefresh=10

    [ Desabilitar protocolo IOCP ]
    [ IOCP disable mode yes/no ]
    IOCPdisable=yes

    [ Direccion IP local para el protocolo IOCP (UDP) ]
    [ IP address for IOC protocol (UDP) ]
    ioc_ip=127.0.0.1

    [ Puerto local para el protocolo IOCP (UDP) ]
    [ port for IOC protocol (UDP) ]
    ioc_port=8090

    [ Nombre y localizacion del fichero de configuracion ]
    [ Name and path of Config file ]
    ConfigFile=.\test.dat

    [ Nombre exacto de la ventana donde se enviaran las teclas ]
    [ Name of window for key send ]
    [window = "Project Magenta Glass Cockpit - Build 396" ]

    window = "a.txt - Bloc de notas"


    [ End of File ]
    Chris

  4. #4
    75+ Posting Member nricky's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    92
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Chris

    Will try your ini files when I get home and that post my results.

    Cheers
    Norbert

  5. #5
    75+ Posting Member nricky's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    92
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    HI Chris
    I just used your INI file on my hardware and it just worked fine for Controlador.ini file. I guess it might be that the master cards are on the wrong position on the USB card, that could be one reason. I also had that problem once, it drove me nuts. And you are making the right connection on the master card for the inputs.


    If you still have problems fell free to ask.

    Cheers
    Norbert




Similar Threads

  1. Strange behavior with 4 I/O Cards on one USB-Card
    By hercules in forum OpenCockpits General Discussion
    Replies: 3
    Last Post: 06-30-2010, 04:08 PM
  2. Got a very strange problem I need help with please
    By 737NUT in forum General Microsoft Flight Simulator 10 (FSX)
    Replies: 0
    Last Post: 06-06-2010, 09:59 AM
  3. PDF/ND Strange problem
    By AchillesP in forum PM Boeing GC
    Replies: 0
    Last Post: 09-05-2008, 03:07 PM
  4. Strange PM problem
    By 737NUT in forum PM General Q & A
    Replies: 2
    Last Post: 11-11-2007, 08:06 PM
  5. Strange problem with IVAP?
    By Manuel Sacramento in forum PM General Q & A
    Replies: 1
    Last Post: 04-13-2006, 10:05 AM