IRS DISPLAY AFT OVH

Forum for the OC4BA v2/v3 and OC4BAConfig including the OCP4NGX driver
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

IRS DISPLAY AFT OVH

Post by sky80033 »

Hello,
I am trying to program the AFT OVH.
I can read the variables for the 15 irs dispay.I use variables 1508 to1522 to read but no value .
Wath the right procedure?
Thank you
Marc
mvr1918
Site Admin
Posts: 1630
Joined: Thu Aug 30, 2012 3:35 pm

Re: IRS DISPLAY AFT OVH

Post by mvr1918 »

Show me your script code for reading the IRS, so I can see if it is correct or not
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: IRS DISPLAY AFT OVH

Post by sky80033 »

This is my script for display (1) :vars 1508 IRS_Displayleft(1).

script:
Var 0900, name IRSDSP, Link IOCARD_DISPLAY, Device 33, Digit 0, Numbers 1

Var 1508, name DSPLEFT1
{
&DSPLEFT1 = &IRSDSP

If i read the var 1508 with iocp console nothing,no value .
thank you
mvr1918
Site Admin
Posts: 1630
Joined: Thu Aug 30, 2012 3:35 pm

Re: IRS DISPLAY AFT OVH

Post by mvr1918 »

All Vars for reading ( area 1000 -1999) and writing ( 2000-2999) must be assigned the parameter static.

Try adding static to the Var 1508 line and change the next line so the Var 1508 is sent to the display

as this:

Var 1508, static name DSPLEFT1
{
&IRSDSP = &DSPLEFT1
}
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: IRS DISPLAY AFT OVH

Post by sky80033 »

Hello,
My new script:
Var 0900, name IRSDSP, Link IOCARD_DISPLAY, Device 33, Digit 0, Numbers 1

Var 1508, name DSPLEFT1, static
{
&IRSDSP = &DSPLEFT1
it does not work,if i run iocp console to read var 1508 DSPLEFT1 no value.I can send on value to var 1508 DSPLEFT1 with iocp console.
My problem is to read the var 1508.
mvr1918
Site Admin
Posts: 1630
Joined: Thu Aug 30, 2012 3:35 pm

Re: IRS DISPLAY AFT OVH

Post by mvr1918 »

what is the text of PMDG B737.ini and Sioc.ini?

Which version of OCP4NGX.exe are you running?

Can you also send an image of the Sioc.exe main window when OCP4NGX.exe is running?

Show me your complete script you are using
mvr1918
Site Admin
Posts: 1630
Joined: Thu Aug 30, 2012 3:35 pm

Re: IRS DISPLAY AFT OVH

Post by mvr1918 »

Just come to think it could be that you do not activate Var 2800 in your script code ( or in IOCPConsole).
This is handled by the original code, but if you build your script code from scratch you need to have Var 2800 set to 1.

Add

Var 2800 value 1

to your code and try
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: IRS DISPLAY AFT OVH

Post by sky80033 »

Hello,
I'm still trying to do work the irs display and elecrical display .Everything else works.
In the last list of variables there are two variable "var 1473 fmc_takeoffflaps" and "added vars after new sdk sp2" "var 1473 elec_meterdisplay.."
Wat is new sdk sp2 ?(sp2 for fsx??).
I'm very frustated all my aft ovh working without the display for irs and electrical.
thank you
mvr1918
Site Admin
Posts: 1630
Joined: Thu Aug 30, 2012 3:35 pm

Re: IRS DISPLAY AFT OVH

Post by mvr1918 »

Hi,

There is a double entry for the 1473 offset, but those for the FMC is not enabled in the driver. Using the 1473 for the Elec display works OK.


Check this video
https://www.youtube.com/watch?v=x-LgFHX ... e=youtu.be

Here I have used IOCP Console to chech that I can read SIOC var 1508. Changes are received OK. You should see the same, otherwise you have some issue with your script.

What are you driver version and script version?
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: IRS DISPLAY AFT OVH

Post by sky80033 »

Hello,
I sent you one e-mail the 9 september with all my folder,i try all,but I CAN NOT READ VAR 1473 AND 1508 with iocp consol.
The link for the video is "private" i can read the video.
All my cockpit work wih opencockpit card ,no plug and play module also my fmc.
Thank you
Post Reply