Boeing737
08-20-2015, 12:11 PM
Hi,
I am making a full size 737 sim using PMDG and Open Cockpits hardware. I have made my MCP v3 and EFIS to work fine with OC4BA however I am struggling with making my USB Outputs card work.
I am testing a single LED with my own script but can't get it to light. It will only light up in test mode.
Using: SIOC 5 and the following code:
Var 10 name Anunsb_1 Link FSUIPC_INOUT Offset $6558 Length 1
{
IF v10 = 0
{
v20 = 0
}
ELSE
{
v20 = 1
}
}
Var 20 name Out_63 Link IOCARD_OUT Output 63 Device 6 // MAIN_annunSPEEDBRAKE_ARMED
SIOC .ini:
[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=no
toggle_delay=20
CONFIG_FILE=.\anuntest.ssi
[OCP4NGX_v3.1.ssi]
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[MASTERS]
MASTER=6,6,1,4
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=60
[IOCP CLIENTS MODULES]
IOCPini_delay= 3000
IOCPclient0_disable=no
IOCPclient0_host=localhost
IOCPclient0_port=8099
IOCPclient1_disable=yes
IOCPclient1_host=localhost
IOCPclient1_port=8092
[SOUND MODULE]
Sound_disable=Yes
Volume=100
MASTER=6,6,1,4
outputs card is connected via USB direct to PC.
Can anyone see anything wrong with this? I would really appreciate any help.
Also if anybody has a script i can test with I would be very grateful.
I am making a full size 737 sim using PMDG and Open Cockpits hardware. I have made my MCP v3 and EFIS to work fine with OC4BA however I am struggling with making my USB Outputs card work.
I am testing a single LED with my own script but can't get it to light. It will only light up in test mode.
Using: SIOC 5 and the following code:
Var 10 name Anunsb_1 Link FSUIPC_INOUT Offset $6558 Length 1
{
IF v10 = 0
{
v20 = 0
}
ELSE
{
v20 = 1
}
}
Var 20 name Out_63 Link IOCARD_OUT Output 63 Device 6 // MAIN_annunSPEEDBRAKE_ARMED
SIOC .ini:
[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=no
toggle_delay=20
CONFIG_FILE=.\anuntest.ssi
[OCP4NGX_v3.1.ssi]
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[MASTERS]
MASTER=6,6,1,4
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=60
[IOCP CLIENTS MODULES]
IOCPini_delay= 3000
IOCPclient0_disable=no
IOCPclient0_host=localhost
IOCPclient0_port=8099
IOCPclient1_disable=yes
IOCPclient1_host=localhost
IOCPclient1_port=8092
[SOUND MODULE]
Sound_disable=Yes
Volume=100
MASTER=6,6,1,4
outputs card is connected via USB direct to PC.
Can anyone see anything wrong with this? I would really appreciate any help.
Also if anybody has a script i can test with I would be very grateful.