Jump to content
Sign in to follow this  
roarkr

OCP4NGX with all PMDG 737NGX Variables and Events enabled in SIOC

Recommended Posts

Hi,

 

Which version is your p&p FMC?

 

My software is written for FMC V3.

 

Are you running version sioc42b2 from opencockpits?

 

 

If you have FMC V3 send me:

A copy of your sioc.ini file from the sioc folder

A jpg of your sioc start window after starting sioc

 

rgs

Roar


Roar Kristensen    www.flightsim4fun.com

P3Dv4 with Opencockpits hardware controlled by OC4BAv4 for immersive PMDG B737/777/747 flying

XPLANE 11 with Opencockpits hardware controlled by OC4BA_XP for immersive  B737 flying

rmMShli.jpg?1 WylQl0J.jpg?3

Share this post


Link to post
Share on other sites

thanks for your help!

 

I use a FMC by plugnfly : http://www.plugnfly.com/fr_fms-737-ng-pro.html

I'm running sioc 42b2 and your last software (after dll bug).

 

 

I send you a jpg tomorrow, my computer is in a bedroom ^_^

 

 

My sioc.ini

 

 

 

[sIOC]

IOCP_port=8092

IOCP_timeout=4000

Minimized=NO

toggle_delay=20

[The ssi below har scripts for MCP, EFISs for both Captain and First Officer and CDU ( FMC V3)]

CONFIG_FILE=.\OCP4NGX_CDU_PP v1.08.ssi

 

[iOCARDS MODULE]

IOCard_disable=No

IOCard_LPT=no

USBKeys=1,279

 

[MASTERS]

 

 

[MASTER=0,4,4,10 << This is the rk's master definition of own built MCP and EFIS, not to be used with P&P version of MCP and EFIS]

 

 

 

[*******************************************************************************************************************************************************]

[Note: change the last numbers(xx, yy, nn and zz) in the MASTER statments above to the Device numbers of your USB expansion card, see SIOC main window, devices]

[Note: your P&P MCP must be Device 0 and your P&P EFIS's must be Device 1 and Device 2 in order to work with the scripts in this package]

[*******************************************************************************************************************************************************]

 

 

 

 

[FSUIPC MODULE]

FSUipcdisable=No

FSUipcRefresh=60

 

[iOCP CLIENTS MODULES]

IOCPini_delay= 3000

IOCPclient0_disable=no

IOCPclient0_host=localhost

IOCPclient0_port=8092

IOCPclient1_disable=no

IOCPclient1_host=localhost

IOCPclient1_port=8092

 

[sOUND MODULE]

Sound_disable=Yes

Volume=100

 

 

[***********************************************************]

[REMEMBER TO FILE MODIFIED SIOC.INI FILE TO YOUR SIOC FOLDER]

[***********************************************************]


I'm French, sorry for my bad english 🙂

 

 

Share this post


Link to post
Share on other sites

Hi,

 

Looking at your sioc.ini file and seeing that you have deleted the MASTER line for the CDU and inserted USBKeys, indicates that you are not having the new FMC V3, but the old FMC implemented with USBKeys detection.

 

Your earlier attached script file is also wrong, it can't work as you miss a definition of the VAR 1999 and the action code for this VAR and also VARs and output links to

the CDU messages types.

 

 

If you get a double key it means that OCP4NGX receives 2 signals when you hit a button on the CDU. Both the leading and trailing edges of the puls.

 

Revert to my OCP4NGX_CDU_PP v1.08.txt and try modifying it like this:

 

 

{

IF &cdu = 18 // MENU

{

IF v1998 = 1

{

V1999 = 2156

}

ELSE

{

}

}

 

Use this method for each keystroke and then compile to get a new modified ssi file.

 

I don't know if it will work as I have no way a testing it. If it do not work seek help in the OpenCockpits forum at www.mycockpit.org, as I know other people with FMC V2 have it working.

 

rgs

 

rgs


Roar Kristensen    www.flightsim4fun.com

P3Dv4 with Opencockpits hardware controlled by OC4BAv4 for immersive PMDG B737/777/747 flying

XPLANE 11 with Opencockpits hardware controlled by OC4BA_XP for immersive  B737 flying

rmMShli.jpg?1 WylQl0J.jpg?3

Share this post


Link to post
Share on other sites

Very big thanks for your help!

 

I check my sioc.ini, his good :

 

[sIOC]

 

IOCP_port=8092

IOCP_timeout=4000

Minimized=NO

toggle_delay=20

[The ssi below har scripts for MCP, EFISs for both Captain and First Officer and CDU ( FMC V3)]

CONFIG_FILE=.\OCP4NGX_CDU_PP v1.08.ssi

 

[iOCARDS MODULE]

IOCard_disable=No

IOCard_LPT=no

USBKeys=6,279

 

[MASTERS]

 

 

[MASTER=0,4,4,10 << This is the rk's master definition of own built MCP and EFIS, not to be used with P&P version of MCP and EFIS]

 

 

 

My sioc with fsx :

448123SIOCinuse.jpg

 

 

I just tried to modify OCP4NGX_CDU_PP v1.08.txt, but i have an error message :

 

Phase 1

.OK.

 

Phase 2

.OK.

 

Phase 3

ERROR! - Unknow Var

==> V1999

 

 

I will check this another forum

 

 

Thank you!


I'm French, sorry for my bad english 🙂

 

 

Share this post


Link to post
Share on other sites

thank you for take your time with me,

 

by error, I removed partially the scrypt :blush: .

 

This is my sioc (.ssi), with them, I have double button press; but when i add :

 

{

IF v1998 = 1

{

and

}

ELSE

{

}

}

 

 

on all keys, the CDU will not function any more!

 

 

 

// *****************************************************************************

// * Config_SIOC ver 4.2 - By Manuel Velez - www.opencockpits.com

// *****************************************************************************

// * FileName : SIOC DOUBLE.txt

// * Date : 24/02/2013

 

 

 

Var 1998, name CDU, Link USB_KEYS, Device 6

{

IF &CDU = 18 // MENU

{

&k = 2156

}

IF &CDU = 7 // INIT REF

{

&k = 2144

}

IF &CDU = 8 // RTE

{

&k = 2173

}

IF &CDU = 15 // DES

{

&k = 2134

}

IF &CDU = 19 // LEGS

{

&k = 2154

}

IF &CDU = 22 // PROG

{

&k = 2164

}

IF &CDU = 24 // N1 LIMIT

{

&k = 2158

}

IF &CDU = 25 // FIX

{

&k = 2139

}

IF &CDU = 17 // CLB

{

&k = 2128

}

IF &CDU = 16 // CRZ

{

&k = 2130

}

IF &CDU = 20 // DEP ARR

{

&k = 2133

}

IF &CDU = 21 // HOLD

{

&k = 2142

}

IF &CDU = 23 // EXEC

{

&k = 2137

}

IF &CDU = 62 // PREV PAGE

{

&k = 2163

}

IF &CDU = 56 // NEXT PAGE

{

&k = 2159

}

IF &CDU = 58 // 0

{

&k = 2114

}

IF &CDU = 41 // 1

{

&k = 2115

}

IF &CDU = 42 // 2

{

&k = 2116

}

IF &CDU = 33 // 3

{

&k = 2117

}

IF &CDU = 49 // 4

{

&k = 2118

}

IF &CDU = 43 // 5

{

&k = 2119

}

IF &CDU = 52 // 6

{

&k = 2120

}

IF &CDU = 51 // 7

{

&k = 2121

}

IF &CDU = 50 // 8

{

&k = 2122

}

IF &CDU = 60 // 9

{

&k = 2123

}

IF &CDU = 57 // .

{

&k = 2135

}

IF &CDU = 70 // slash

{

&k = 2175

}

IF &CDU = 59 // + / -

{

&k = 2162

}

IF &CDU = 69 // DEL

{

&k = 2132

}

IF &CDU = 71 // CLR

{

&k = 2129

}

IF &CDU = 68 // SP

{

&k = 2176

}

IF &CDU = 28 // A

{

&k = 2124

}

IF &CDU = 29 // B

{

&k = 2125

}

IF &CDU = 30 // C

{

&k = 2127

}

IF &CDU = 31 // D

{

&k = 2131

}

IF &CDU = 32 // E

{

&k = 2136

}

IF &CDU = 36 // F

{

&k = 2138

}

IF &CDU = 37 // G

{

&k = 2140

}

IF &CDU = 38 // H

{

&k = 2141

}

IF &CDU = 39 // I

{

&k = 2143

}

IF &CDU = 40 // J

{

&k = 2145

}

IF &CDU = 34 // K

{

&k = 2146

}

IF &CDU = 26 // L

{

&k = 2147

}

IF &CDU = 27 // M

{

&k = 2155

}

IF &CDU = 47 // N

{

&k = 2157

}

IF &CDU = 48 // O

{

&k = 2160

}

IF &CDU = 35 // P

{

&k = 2161

}

IF &CDU = 44 // Q

{

&k = 2165

}

IF &CDU = 45 // R

{

&k = 2166

}

IF &CDU = 46 // S

{

&k = 2174

}

IF &CDU = 64 // T

{

&k = 2177

}

IF &CDU = 53 // U

{

&k = 2178

}

IF &CDU = 54 // V

{

&k = 2179

}

IF &CDU = 55 // W

{

&k = 2180

}

IF &CDU = 63 // X

{

&k = 2181

}

IF &CDU = 72 // Y

{

&k = 2182

}

IF &CDU = 61 // Z

{

&k = 2183

}

IF &CDU = 1 // Linea 1L

{

&k = 2148

}

IF &CDU = 2 // Linea 2L

{

&k = 2149

}

IF &CDU = 3 // Linea 3L

{

&k = 2150

}

IF &CDU = 4 // Linea 4L

{

&k = 2151

}

IF &CDU = 5 // Linea 5L

{

&k = 2152

}

IF &CDU = 6 // Linea 6L

{

&k = 2153

}

IF &CDU = 9 // Linea 1R

{

&k = 2167

}

IF &CDU = 10 // Linea 2R

{

&k = 2168

}

IF &CDU = 11 // Linea 3R

{

&k = 2169

}

IF &CDU = 12 // Linea 4R

{

&k = 2170

}

IF &CDU = 13 // Linea 5R

{

&k = 2171

}

IF &CDU = 14 // Linea 6R

{

&k = 2172

}

}

 

Var 1999, name k, static

{

&k = 0

}

 

Var 1377, name CDU_EXEC_led, static, Link IOCARD_OUT, Device 13, Output 2 // CDU EXEC green led

 

Var 1381, name CDU_FAIL_led, static, Link IOCARD_OUT, Device 13, Output 4 // CDU FAIL red led

 

Var 1383, name CDU_MSG_led, static, Link IOCARD_OUT, Device 13, Output 1 // CDU MSG amber led

 

Var 1385, name CDU_OFST_led, static, Link IOCARD_OUT, Device 13, Output 0 // CDU OFST amber led

 

Var 1379, name CDU_CALL_led, static, Link IOCARD_OUT, Device 13, Output 3 // CDU CALL red led

 

Var 1012, name CDU_leds, Link IOCP, Offset 57

{

&CDU_EXEC_led = TESTBIT &CDU_leds ,0 // EXEC LED

&CDU_MSG_led = TESTBIT &CDU_leds ,1 // MSG LED

&CDU_FAIL_led = TESTBIT &CDU_leds ,2 // FAIL LED

&CDU_OFST_led = TESTBIT &CDU_leds ,3 // OFST LED

&CDU_CALL_led = TESTBIT &CDU_leds ,4 // CALL LED

}


I'm French, sorry for my bad english 🙂

 

 

Share this post


Link to post
Share on other sites

Roar,

 

I am a bit later this time with testing your excellent work. I have however moved to Prosim737 for my cockpit build so not that active anymore with the pmdg 737ngx. I do however still love to fly it now and then with fs2crew etc so i noticed this thread and downloaded the new software from your side.

 

Here are my results.

1. I had some problems getting OC4BA to work with the new version of sioc. In the end i removed both sioc and OC4BA and started fresh install of sioc and OC4BA and now indeed it is working with sioc 4.3B2.

2. I have flown with the 1.08 scripts and, despites crankpins remark i still noticed lagging digits when turning the dials fast (as an example changing altitude from 6000 to 24000 it will often show a higher altitude but then lower it again in the display and you have to start from the lower level up to the required altitude. Same happens with heading and speed. Note that turning the dials just a bit slower overcomes this problem. (i am running all this on a overclocked (4.5 Ghz) i2600K (for what it is worth). One more remark. Prosim737 interfaces through sioc to the mcp and efis also but has no problems with lagging digits no matter how fast i try to turn the dials. Don't know if this usefull info but thought i bring it up.

3. Noticed the problem with the A/T arm button not showing green on the mcp and downloaded the 1.08b txt but how can i load two config files in sioc.ini (if i put them in sequence with two config file statements it only loads the last) this most be something missing in my understanding of sioc. Tried to read the manuals but could not find an answer to this one. Or should i merge the mcp and efis scripts?

 

 

Once again thanks for all your excellent work. It was your work that started my home cockpit building experience.

 

Regards

Fred Koch

Share this post


Link to post
Share on other sites

Hi Fred,

 

I will look into the lagging issue after I have done the scripting for the OC OVH v2, MCP v3, ADF and ATC modules I received a few days ago.

 

The ATARM light issue is a bug in the PMDG, reported a year ago to PMDG. I will just link it to the ATARM switch in the next script update. It will then work

correctely in most situations.

 

rgs,


Roar Kristensen    www.flightsim4fun.com

P3Dv4 with Opencockpits hardware controlled by OC4BAv4 for immersive PMDG B737/777/747 flying

XPLANE 11 with Opencockpits hardware controlled by OC4BA_XP for immersive  B737 flying

rmMShli.jpg?1 WylQl0J.jpg?3

Share this post


Link to post
Share on other sites

Hi,

 

A new lag-free SIOC script for Opencockpits MCP v3 can now be downloaded from http://flightsim4fun.com/download.html.

 

This script is supporting all new features in the the MCP v3, but should also work fine with MCP v2 ( I believe, don't have the MCP v2 so it is not tested by me).

 

This script is to be used with my OC4BA program, just unzip it to your OC4BA folder and rename the config line to: CONFIG_FILE=.\OCP4NGX_MCP_PP v1.10.ssi

 

Please report any issues, also if it works OK on your system.

 

rgs


Roar Kristensen    www.flightsim4fun.com

P3Dv4 with Opencockpits hardware controlled by OC4BAv4 for immersive PMDG B737/777/747 flying

XPLANE 11 with Opencockpits hardware controlled by OC4BA_XP for immersive  B737 flying

rmMShli.jpg?1 WylQl0J.jpg?3

Share this post


Link to post
Share on other sites

Hi Roar,

 

I will give it a try this weekend (will be sunday).

Is there also a combined mcp-efis script or do you want me to try the mcp only?

I have a mcp v2 PP btw.

Share this post


Link to post
Share on other sites

Hi,

 

I will have scripts for OVH V2, FMC V3 (CDU)s, EFISs, NAVs, COMs, ADFs, ATCs in addition to the MCP v3 ready within Sunday.

 

I am also working on the rest of the MIP and other knob in the aircraft.

 

 

With this almost everything in the PMDG B737 can be simulated in a HomeCockpit.

 

Compare this freeware software( you need to buy the PMDG B737) with PROSIM and PROJECT MAGENTA.

The price difference  is HUGE.

 

Going the OpenCockpits and PMDG is the less expensive HomeCockpit solution for B737 aircratfs.

 

Check www.flightsim4fun.com for updates later this week

 

rgs


Roar Kristensen    www.flightsim4fun.com

P3Dv4 with Opencockpits hardware controlled by OC4BAv4 for immersive PMDG B737/777/747 flying

XPLANE 11 with Opencockpits hardware controlled by OC4BA_XP for immersive  B737 flying

rmMShli.jpg?1 WylQl0J.jpg?3

Share this post


Link to post
Share on other sites
Oops,

 

I forgot to tell that both the MASTER  and CONFIG_FILE definitions in sioc.ini needs to be changed

 

Make sure that you have

 

 

1) CONFIG_FILE=.\OCP4NGX_MCP_PP v1.10.ssi in the CONFIG line of your sioc.ini 

2) MASTER=15,5,1,nn ( where nn is your USB number) for older MCP than MCP v3

3) MASTER=15,15,1,nn ( where nn is your USB number) for MCP v3

 

Please also download again to make sure you have the latest files. The correct ZIP file  should have a a installation note in it and the correct txt and ssi files.

 

Rgs 


Roar Kristensen    www.flightsim4fun.com

P3Dv4 with Opencockpits hardware controlled by OC4BAv4 for immersive PMDG B737/777/747 flying

XPLANE 11 with Opencockpits hardware controlled by OC4BA_XP for immersive  B737 flying

rmMShli.jpg?1 WylQl0J.jpg?3

Share this post


Link to post
Share on other sites

 

Compare this freeware software( you need to buy the PMDG B737) with PROSIM and PROJECT MAGENTA.

The price difference is HUGE.

 

Roar,

 

Although i have already bought the prosim licence i have no issue selling it again if i can make my home cockpit work with the ngx.

 

But the one issue i currently see with this route that there is no ability to attach the screens to a second networked pc. So the only way to go is attaching all hardware to a single pc.

 

Or have you been able to work around this limitation?

 

regards

 

Fred

Share this post


Link to post
Share on other sites

 

 

Although i have already bought the prosim licence i have no issue selling it again if i can make my home cockpit work with the ngx.

 

But the one issue i currently see with this route that there is no ability to attach the screens to a second networked pc. So the only way to go is attaching all hardware to a single pc.

 

Or have you been able to work around this limitation?

 

regards

 

Fred

Hi,

 

 

I only use 1 PC , why 2 PCs?

 

I have 2 LCDs where my Instruments screens go, 1 LCD for External view.

 

I configure the Cockpit  as 2D and unlock the instruments and undock the Main panel.

 

My LCD for External View has FPS in the 100+ with this config. Everything smooth and fast inclusive the Instrument screens

 

 

See some picture here. The MIP is still not there, The 2 instrument screens will go behind the MIP panel.

 

 

I will set up a guide on how to do this setup and keep the screen sync'd when starting everything up.

 

Roar,

rgs


Roar Kristensen    www.flightsim4fun.com

P3Dv4 with Opencockpits hardware controlled by OC4BAv4 for immersive PMDG B737/777/747 flying

XPLANE 11 with Opencockpits hardware controlled by OC4BA_XP for immersive  B737 flying

rmMShli.jpg?1 WylQl0J.jpg?3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...