Boeing 747 Flyer
08-26-2011, 11:23 AM
Hi everyone,
I'm having an issue with my 4th Mastercard connected to my USBExpansion Card.
I Have 2 Mastercards, 1 plugged into J1 (MC1), and 1 plugged into J4 (MC4) on the USBExpasnion Card. Slots 2 and 3 are left empty.
Simply put, SIOC does not seem to be picking up any INPUT commands gained from MC4 (although outputs still work fine).
I have an Opencockpits Input connector box plugged into J3 on the Mastercard. There are a few switches connected to this Input box, and none of them are picked up.
This is my SIOC.ini file:
[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=Yes
toggle_delay=20
CONFIG_FILE=Cockpit_Full.ssi
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[USBKEYS]
USBKeys=0,96
[USBDCMOTORS]
USBDCmotor=0,38
[DCMOTORSAD]
USBAnalogic=0,38
[MASTERS]
MASTER=3,11,1,70
MASTER=2,5,1,50
MASTER=0,4,4,12
[A/D USED MASTER]
USB_AD=4
[MULTIPLE]
MUSB=Yes
[USBSERVOS]
USBSERVOS=0,4
deviceUSB=2132
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=50
[IOCP CLIENTS MODULES]
IOCPini_delay=3000
IOCPclient0_disable=Yes
IOCPclient0_host=localhost
IOCPclient0_port=8090
IOCPclient1_disable=Yes
IOCPclient1_host=localhost
IOCPclient1_port=8099
[SOUND MODULE]
Sound_disable=NO
Volume=100
To test, I made a SIOC script covering all possible Inputs on J3:
Var 0102, name Switch1, Link IOCARD_SW, Input 216
Var 0107, name Switch2, Link IOCARD_SW, Input 217
Var 0108, name Switch3, Link IOCARD_SW, Input 218
Var 0109, name Switch4, Link IOCARD_SW, Input 219
Var 0110, name Switch5, Link IOCARD_SW, Input 220
Var 0111, name Switch6, Link IOCARD_SW, Input 221
Var 0112, name Switch7, Link IOCARD_SW, Input 222
Var 0125, name Switch19, Link IOCARD_SW, Input 223
Var 0114, name Switch9, Link IOCARD_SW, Input 224
Var 0115, name Switch10, Link IOCARD_SW, Input 225
Var 0116, name Switch11, Link IOCARD_SW, Input 226
Var 0117, name Switch12, Link IOCARD_SW, Input 227
Var 0118, name Switch13, Link IOCARD_SW, Input 228
Var 0119, name Switch14, Link IOCARD_SW, Input 229
Var 0120, name Switch15, Link IOCARD_SW, Input 230
Var 0121, name Switch16, Link IOCARD_SW, Input 231
Var 0122, name Switch17, Link IOCARD_SW, Input 232
Var 0123, name Switch18, Link IOCARD_SW, Input 233
Var 0124, name Switch20, Link IOCARD_SW, Input 234
Var 0126, name Switch21, Link IOCARD_SW, Input 235
Var 0127, name Switch22, Link IOCARD_SW, Input 236
Var 0128, name Switch23, Link IOCARD_SW, Input 237
Var 0129, name Switch24, Link IOCARD_SW, Input 238
Var 0130, name Switch25, Link IOCARD_SW, Input 239
Var 0131, name Switch26, Link IOCARD_SW, Input 240
Var 0132, name Switch27, Link IOCARD_SW, Input 241
Var 0133, name Switch28, Link IOCARD_SW, Input 242
Var 0134, name Switch29, Link IOCARD_SW, Input 243
Var 0135, name Switch30, Link IOCARD_SW, Input 244
Var 0136, name Switch31, Link IOCARD_SW, Input 245
Var 0137, name Switch32, Link IOCARD_SW, Input 246
Var 0138, name Switch33, Link IOCARD_SW, Input 247
Var 0139, name Switch34, Link IOCARD_SW, Input 248
Var 0140, name Switch35, Link IOCARD_SW, Input 249
Var 0141, name Switch36, Link IOCARD_SW, Input 250
Var 0142, name Switch37, Link IOCARD_SW, Input 251
After starting SIOC and making sure the script is run, I go into IOCPConsole, and flick the various switches. However, there is no reaction.
Sounds like a faulty switch, right? So, I dug out my multimeter and tested the switches (I even put the multimeter terminals on the Input box to make sure it wasn't the box that was faulty). Low and behold, the switch worked flawlessly when tested with the multimeter.
So, in short, I have an Input box connected to J3 of Mastercard number 4. Whilst the outputs work, none of the inputs are recognised by IOCPConsole or SIOC.
Furthermore; can someone please tell me the purpose of the Red LED on the USBExpansion Card?
Cheers,
Jack
I'm having an issue with my 4th Mastercard connected to my USBExpansion Card.
I Have 2 Mastercards, 1 plugged into J1 (MC1), and 1 plugged into J4 (MC4) on the USBExpasnion Card. Slots 2 and 3 are left empty.
Simply put, SIOC does not seem to be picking up any INPUT commands gained from MC4 (although outputs still work fine).
I have an Opencockpits Input connector box plugged into J3 on the Mastercard. There are a few switches connected to this Input box, and none of them are picked up.
This is my SIOC.ini file:
[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=Yes
toggle_delay=20
CONFIG_FILE=Cockpit_Full.ssi
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[USBKEYS]
USBKeys=0,96
[USBDCMOTORS]
USBDCmotor=0,38
[DCMOTORSAD]
USBAnalogic=0,38
[MASTERS]
MASTER=3,11,1,70
MASTER=2,5,1,50
MASTER=0,4,4,12
[A/D USED MASTER]
USB_AD=4
[MULTIPLE]
MUSB=Yes
[USBSERVOS]
USBSERVOS=0,4
deviceUSB=2132
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=50
[IOCP CLIENTS MODULES]
IOCPini_delay=3000
IOCPclient0_disable=Yes
IOCPclient0_host=localhost
IOCPclient0_port=8090
IOCPclient1_disable=Yes
IOCPclient1_host=localhost
IOCPclient1_port=8099
[SOUND MODULE]
Sound_disable=NO
Volume=100
To test, I made a SIOC script covering all possible Inputs on J3:
Var 0102, name Switch1, Link IOCARD_SW, Input 216
Var 0107, name Switch2, Link IOCARD_SW, Input 217
Var 0108, name Switch3, Link IOCARD_SW, Input 218
Var 0109, name Switch4, Link IOCARD_SW, Input 219
Var 0110, name Switch5, Link IOCARD_SW, Input 220
Var 0111, name Switch6, Link IOCARD_SW, Input 221
Var 0112, name Switch7, Link IOCARD_SW, Input 222
Var 0125, name Switch19, Link IOCARD_SW, Input 223
Var 0114, name Switch9, Link IOCARD_SW, Input 224
Var 0115, name Switch10, Link IOCARD_SW, Input 225
Var 0116, name Switch11, Link IOCARD_SW, Input 226
Var 0117, name Switch12, Link IOCARD_SW, Input 227
Var 0118, name Switch13, Link IOCARD_SW, Input 228
Var 0119, name Switch14, Link IOCARD_SW, Input 229
Var 0120, name Switch15, Link IOCARD_SW, Input 230
Var 0121, name Switch16, Link IOCARD_SW, Input 231
Var 0122, name Switch17, Link IOCARD_SW, Input 232
Var 0123, name Switch18, Link IOCARD_SW, Input 233
Var 0124, name Switch20, Link IOCARD_SW, Input 234
Var 0126, name Switch21, Link IOCARD_SW, Input 235
Var 0127, name Switch22, Link IOCARD_SW, Input 236
Var 0128, name Switch23, Link IOCARD_SW, Input 237
Var 0129, name Switch24, Link IOCARD_SW, Input 238
Var 0130, name Switch25, Link IOCARD_SW, Input 239
Var 0131, name Switch26, Link IOCARD_SW, Input 240
Var 0132, name Switch27, Link IOCARD_SW, Input 241
Var 0133, name Switch28, Link IOCARD_SW, Input 242
Var 0134, name Switch29, Link IOCARD_SW, Input 243
Var 0135, name Switch30, Link IOCARD_SW, Input 244
Var 0136, name Switch31, Link IOCARD_SW, Input 245
Var 0137, name Switch32, Link IOCARD_SW, Input 246
Var 0138, name Switch33, Link IOCARD_SW, Input 247
Var 0139, name Switch34, Link IOCARD_SW, Input 248
Var 0140, name Switch35, Link IOCARD_SW, Input 249
Var 0141, name Switch36, Link IOCARD_SW, Input 250
Var 0142, name Switch37, Link IOCARD_SW, Input 251
After starting SIOC and making sure the script is run, I go into IOCPConsole, and flick the various switches. However, there is no reaction.
Sounds like a faulty switch, right? So, I dug out my multimeter and tested the switches (I even put the multimeter terminals on the Input box to make sure it wasn't the box that was faulty). Low and behold, the switch worked flawlessly when tested with the multimeter.
So, in short, I have an Input box connected to J3 of Mastercard number 4. Whilst the outputs work, none of the inputs are recognised by IOCPConsole or SIOC.
Furthermore; can someone please tell me the purpose of the Red LED on the USBExpansion Card?
Cheers,
Jack