Jump to content
Sign in to follow this  
roarkr

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

Recommended Posts

Hi,

 

After some months away from flightsim due to other activites I have now updated OCP4NGX for OpenCocpits users.

 

A new and updated OCP4NGX can be downloaded from www.flightsim4fun.com

 

What is new

 

1. The main program is now called OC4BA (OpenCockpits for Boeing Airplanes).

2. The version of OC4BA is v.1.0

3. OC4BA consists of the OCP4B7X7 Manager and the OCP4NGX sub programs

4. In addition there are several Sioc txt and ssi files for different configurations

a. All Sioc txt and ssi files are now in v1.08

5. All PMDG NGX’s Variables and Events are now available through a new improved and faster OCP4NGX.

6. In order for users to use any or all of these new vars and events in their cockpits, new Sioc scripts have to be written.

7. If you make a new Sioc script for other parts of the NGX cockpit, please share with other users. Send me your script and I will upload it to www.flightsim4fun.com

8. You can make new scripts and merge them with existing scripts for MCP, EFIS, CDU by naming all new scripts in config.sioc.ini before compilation. See also http://www.lekseecon...configsioc.html on how to compile single and multiple scripts.

9. The link between Sioc variables and PMDG NGX Vars and Events are documented in Var LIST for info.txt and Events LIST for info.txt in your airplane folder ( Click NGX in the OCP4NGX Manager window)

 

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

Thanks Roar.

 

The new OCP4NGX is an excellent piece of work. Your time and efforts are greatly appreciated.

Share this post


Link to post
Share on other sites

Woo, and thanks from me too Roarkr , great news and on the same day as my new OC CDU arrived :)

 

And on the CDU subject .... I've got it all working (which is nice) and I've been tinkering with panel.cfg trying to get the CDU screen to position and size itself automagically beyond the top right of my screen to sit nicely in the hardware CDU screen.

I wonder if anyone who knows more about panel.cfg than I've managed to learn can help.

I'm at the stage I can drag a new 'panel/window' I created for it in panel.cfg by Undocking it and dragging it off the screen to the right spot, but it has a window frame around it because it's undocked, which I'd like to get rid of as it kinda gets in the way of aligning the prompts to the LSK/RSK buttons.

So I guess what I'm trying to do is create a docked window at 1921,0 which is just beyond the top right of my 1920,1080 monitor.

I also don't have the relative sizing of the new panel worked out yet as can be seen in my panel.cfg below but I think I can sort that out with many trial and errors.... it's just the getting it to 'dock' beyond my main screen and writing that in panel.cfg that has me stumped.

 

Thanks

John

 

Relevant bits of my panel.cfg below;

 

 

[Window Titles]

window00=Main Panel

window01=Lower Main

.

.

window20=Logic

Window21=FSForce Trim Gauge

window22=CDU (Screen)

 

.

.

//

// CDU (Screen)

//

[Window22]

BACKGROUND_COLOR=0,0,0

size_mm=800,600

window_size= 0.625, 0.50000

position=2

visible=1

ident=MISC_POPUP_1

zorder=99

gauge00=PMDG_737NGX!CDU_Screen, 0,0,800,600,L #0

Share this post


Link to post
Share on other sites

John,

 

I am not at my flight sim computer at the moment but when I get to it later I will let you know what I have in my cfg. file. I have got it so I can right click on the main CDU screen in the sim and then drag to the OC CDU. I have to re-size but I do not have the frame.

Share this post


Link to post
Share on other sites

IMPORTANT NOTICE for users of OCP4NGX who had the "missing MSVCP110.dll" message.

 

Please re-download the OCP4NGX from www.flightsim4fun as the file first uploaded had a multi-threading library linking failure that caused some or all of you

to get the "missing MSVCP110.dll" message when installing.

 

Sorry for the problems.

 

 

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 updated OCP4NGX with time stamp 15.02.2013 is now ready for download at www.flightsim4fun.com

 

All reported issues

 

"missing dll file"

"FMC V3 panel not working"

 

have now been corrected

 

rgs

 

 

IMPORTANT NOTICE for users of OCP4NGX who had the "missing MSVCP110.dll" message.

 

Please re-download the OCP4NGX from www.flightsim4fun as the file first uploaded had a multi-threading library linking failure that caused some or all of you

to get the "missing MSVCP110.dll" message when installing.

 

Sorry for the problems.

 

 

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

 

Great, I've tested the 15.02.2013 build and it's fixed both the missing dll error and the CDU is now working again as well, and very well I might add :)

So all is good for the Plug & Play MCP, EFIS and CDU that I have. The numbers on the MCP are fast and responsive now too, thats cool Your work has really made these Opencockpits addons perform superbly with the NGX, thanks again.

 

John

Share this post


Link to post
Share on other sites

Thanks for the continued work, Roar!

 

I haven't gotten around to simming much lately, due to health issues, but I'll be sure to try this new version as soon as I feel upto it.

I hope someone will take it upon themselves to write scripts for the comm, nav, and tcas modules...

 

[edit] Cool, I see comm and nav are already supported!

Share this post


Link to post
Share on other sites

HI,

 

You this ( http://janvaane.org/...fsx/archives/34) small app and it will be easy to restore the CDU screen.

 

CBTextL.ini file is:

 

 

 

[window 1]

name=CDU (Left)

x=1921

y=-25

width=800

height=600

 

 

rgs

 

 

Woo, and thanks from me too Roarkr , great news and on the same day as my new OC CDU arrived :)

 

And on the CDU subject .... I've got it all working (which is nice) and I've been tinkering with panel.cfg trying to get the CDU screen to position and size itself automagically beyond the top right of my screen to sit nicely in the hardware CDU screen.

I wonder if anyone who knows more about panel.cfg than I've managed to learn can help.

I'm at the stage I can drag a new 'panel/window' I created for it in panel.cfg by Undocking it and dragging it off the screen to the right spot, but it has a window frame around it because it's undocked, which I'd like to get rid of as it kinda gets in the way of aligning the prompts to the LSK/RSK buttons.

So I guess what I'm trying to do is create a docked window at 1921,0 which is just beyond the top right of my 1920,1080 monitor.

I also don't have the relative sizing of the new panel worked out yet as can be seen in my panel.cfg below but I think I can sort that out with many trial and errors.... it's just the getting it to 'dock' beyond my main screen and writing that in panel.cfg that has me stumped.

 

Thanks

John

 

Relevant bits of my panel.cfg below;

 

 

[Window Titles]

window00=Main Panel

window01=Lower Main

.

.

window20=Logic

Window21=FSForce Trim Gauge

window22=CDU (Screen)

 

.

.

//

// CDU (Screen)

//

[Window22]

BACKGROUND_COLOR=0,0,0

size_mm=800,600

window_size= 0.625, 0.50000

position=2

visible=1

ident=MISC_POPUP_1

zorder=99

gauge00=PMDG_737NGX!CDU_Screen, 0,0,800,600,L #0


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 bug that prevented the ATARM light on the MCP to be turned on is corrected with a new

OCP4NGX_MCP_PP v1.08b.txt filet file. Compile it with the other PP files.

 

It will be included in the next update of OCP4NGX app.

 

 

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,

 

Sioc scripts for all PMDG SDK defined outputs and inputs can now be downloaded .

 

The scripts have only the PMDG SDK names linked to the correct variable number used in OCP4NGX. The user must make their own logic

when needed.

 

If you use these scripts be sure to delete those variables that you already have defined in other PMDG B737NGX sioc scripts before compiling.

The scripts use the origninal SDK naming. As Sioc don't accept long names you must also shorten the variable names you use.

 

Find files at www.flightsim4fun.com

 

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,

 

I have buy a CDU from plugnfly, he's correctly set into sioc.exe, but i can't use it with the ngx!

 

My sioc (.ssi) :

 

 

 

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

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

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

// * FileName : CDU NGX.txt

// * Date : 19/02/2013

 

 

 

Var 1998, name cdu, Link IOCARD_KEYS, Device 13

{

IF &cdu = 18 // MENU

{

V1999 = 2156

}

IF &cdu = 7 // INIT REF

{

V1999 = 2144

}

IF &cdu = 8 // RTE

{

V1999 = 2173

}

IF &cdu = 15 // DES

{

V1999 = 2134

}

IF &cdu = 19 // LEGS

{

V1999 = 2154

}

IF &cdu = 22 // PROG

{

V1999 = 2164

}

IF &cdu = 24 // N1 LIMIT

{

V1999 = 2158

}

IF &cdu = 25 // FIX

{

V1999 = 2139

}

IF &cdu = 17 // CLB

{

V1999 = 2128

}

IF &cdu = 16 // CRZ

{

V1999 = 2130

}

IF &cdu = 20 // DEP ARR

{

V1999 = 2133

}

IF &cdu = 21 // HOLD

{

V1999 = 2142

}

IF &cdu = 23 // EXEC

{

V1999 = 2137

}

IF &cdu = 62 // PREV PAGE

{

V1999 = 2163

}

IF &cdu = 56 // NEXT PAGE

{

V1999 = 2159

}

IF &cdu = 58 // 0

{

V1999 = 2114

}

IF &cdu = 41 // 1

{

V1999 = 2115

}

IF &cdu = 42 // 2

{

V1999 = 2116

}

IF &cdu = 33 // 3

{

V1999 = 2117

}

IF &cdu = 49 // 4

{

V1999 = 2118

}

IF &cdu = 43 // 5

{

V1999 = 2119

}

IF &cdu = 52 // 6

{

V1999 = 2120

}

IF &cdu = 51 // 7

{

V1999 = 2121

}

IF &cdu = 50 // 8

{

V1999 = 2122

}

IF &cdu = 60 // 9

{

V1999 = 2123

}

IF &cdu = 57 // .

{

V1999 = 2135

}

IF &cdu = 70 // slash

{

V1999 = 2175

}

IF &cdu = 59 // + / -

{

V1999 = 2162

}

IF &cdu = 69 // DEL

{

V1999 = 2132

}

IF &cdu = 71 // CLR

{

V1999 = 2129

}

IF &cdu = 68 // SP

{

V1999 = 2176

}

IF &cdu = 28 // A

{

V1999 = 2124

}

IF &cdu = 29 // B

{

V1999 = 2125

}

IF &cdu = 30 // C

{

V1999 = 2127

}

IF &cdu = 31 // D

{

V1999 = 2131

}

IF &cdu = 32 // E

{

V1999 = 2136

}

IF &cdu = 36 // F

{

V1999 = 2138

}

IF &cdu = 37 // G

{

V1999 = 2140

}

IF &cdu = 38 // H

{

V1999 = 2141

}

IF &cdu = 39 // I

{

V1999 = 2143

}

IF &cdu = 40 // J

{

V1999 = 2145

}

IF &cdu = 34 // K

{

V1999 = 2146

}

IF &cdu = 26 // L

{

V1999 = 2147

}

IF &cdu = 27 // M

{

V1999 = 2155

}

IF &cdu = 47 // N

{

V1999 = 2157

}

IF &cdu = 48 // O

{

V1999 = 2160

}

IF &cdu = 35 // P

{

V1999 = 2161

}

IF &cdu = 44 // Q

{

V1999 = 2165

}

IF &cdu = 45 // R

{

V1999 = 2166

}

IF &cdu = 46 // S

{

V1999 = 2174

}

IF &cdu = 64 // T

{

V1999 = 2177

}

IF &cdu = 53 // U

{

V1999 = 2178

}

IF &cdu = 54 // V

{

V1999 = 2179

}

IF &cdu = 55 // W

{

V1999 = 2180

}

IF &cdu = 63 // X

{

V1999 = 2181

}

IF &cdu = 72 // Y

{

V1999 = 2182

}

IF &cdu = 61 // Z

{

V1999 = 2183

}

IF &cdu = 1 // Linea 1L

{

V1999 = 2148

}

IF &cdu = 2 // Linea 2L

{

V1999 = 2149

}

IF &cdu = 3 // Linea 3L

{

V1999 = 2150

}

IF &cdu = 4 // Linea 4L

{

V1999 = 2151

}

IF &cdu = 5 // Linea 5L

{

V1999 = 2152

}

IF &cdu = 6 // Linea 6L

{

V1999 = 2153

}

IF &cdu = 9 // Linea 1R

{

V1999 = 2167

}

IF &cdu = 10 // Linea 2R

{

V1999 = 2168

}

IF &cdu = 11 // Linea 3R

{

V1999 = 2169

}

IF &cdu = 12 // Linea 4R

{

V1999 = 2170

}

IF &cdu = 13 // Linea 5R

{

V1999 = 2171

}

IF &cdu = 14 // Linea 6R

{

V1999 = 2172

}

}

 

What I do :

 

- I start sioc.exe

- I start OCP4NGX (version from 15/02/2013, after dll crash)

- I start FS with C172, then switch to the NGX

 

but i can't use my CDU with the NGX!

 

What I did wrong?

 

 

Sorry for my bad english!


I'm French, sorry for my bad english 🙂

 

 

Share this post


Link to post
Share on other sites

Great news! I found the problem, the CDU was set as a master, and not usb! but i have another problem, when i push a button, it will be "pressed" two times, when i press button "1", i have 11 on CDU, when i press LSK1, it will be pressed two times, etc. But sioc monitor indicate each button is pressed one time!

 

 

Any idea?


I'm French, sorry for my bad english 🙂

 

 

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...