Results 1 to 5 of 5
-
08-09-2007, 07:34 AM #1
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???
ChrisChris
-
08-09-2007, 07:39 AM #2
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
-
08-09-2007, 08:01 AM #3
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
-
08-09-2007, 10:47 AM #4
Hi Chris
Will try your ini files when I get home and that post my results.
Cheers
Norbert
-
08-09-2007, 03:26 PM #5
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.
CheersNorbert
Similar Threads
-
Strange behavior with 4 I/O Cards on one USB-Card
By hercules in forum OpenCockpits General DiscussionReplies: 3Last Post: 06-30-2010, 04:08 PM -
Got a very strange problem I need help with please
By 737NUT in forum General Microsoft Flight Simulator 10 (FSX)Replies: 0Last Post: 06-06-2010, 09:59 AM -
PDF/ND Strange problem
By AchillesP in forum PM Boeing GCReplies: 0Last Post: 09-05-2008, 03:07 PM -
Strange PM problem
By 737NUT in forum PM General Q & AReplies: 2Last Post: 11-11-2007, 09:06 PM -
Strange problem with IVAP?
By Manuel Sacramento in forum PM General Q & AReplies: 1Last Post: 04-13-2006, 10:05 AM