PDA

View Full Version : Anybody have a PMDG MIP anunciator script?



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.

Roarkr
08-23-2015, 09:09 AM
If you have the OC4BA v3, all MIP functions are scripted in the latest OCP4NGX_v4.0.ssi.
Just export the ssi file to txt file and search for the part you need. Then modify to fit you device number and Output numbers.

Boeing737
08-24-2015, 05:25 AM
If you have the OC4BA v3, all MIP functions are scripted in the latest OCP4NGX_v4.0.ssi.
Just export the ssi file to txt file and search for the part you need. Then modify to fit you device number and Output numbers.

Hi Roar, thanks very much for your reply.

I have tried what you suggested above but without success.

When I have checked IOCP Console the var I have modified on your OCP4NGX_v4 works fine, the value changes and the LED lights up. However this is just not being sent to PMDG737 for some reason. Also MCP and EFIS work fine with OCP4NGX_v2 but MCP comes up with -99 on the 7seg when trying to use OCP4NGX_v4?
Do you think this is part of he problem? I don't think it is. As you can see I need help!

Roarkr
08-24-2015, 07:12 AM
Hi,

I suggest you move over to www.flightsim4fun.com support forum to continue to address this issue.

What are you sending to PMDG737 and how?