Problem with some Aft Overhead switches.[SOLVED]

This is a new forum for the OC4BAv4.
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Problem with some Aft Overhead switches.[SOLVED]

Post by CAVENEY747 »

Hello Roar

I would very much appreciate your help with this problem.
I have tried everything I can think of and also contacted 'Open Cockpits' who
said I should speak to you.
The Problem - I have built my own Aft Overhead panel and everything works
apart from four switches - Flight Recorder Test, Pass Oxygen on, Dome White
and Service Interphone. The switches all show up and work fine in the SIOC
monitor and I have assigned the correct Device and Input numbers but nothing
happens in the PMDG 737 when I operate the switches. I have assigned the switches
to different variables and they work fine so it is definitely not a hardware problem!
My question is do these switches work in your cockpit and if they do, can you
think of any reason they are not working for me? I have spent weeks trying to sort
this problem but I am totally out of answers and really need your help.

Thank you in advance.

Clive.
mvr1918
Site Admin
Posts: 1633
Joined: Thu Aug 30, 2012 3:35 pm

Re: Problem with some Aft Overhead switches.

Post by mvr1918 »

I do not have these functions in my cockpit so I have really never tested the script with the any hardware.


Are you 100% sure that the input numbers you have on your hardware is the same as in the script below.

If not, you have to change the script so it matches your hardware input numbers.


Var 2643, name FLTREC_G, static
Var 2644, name FLTREC_SW, static
Var 0882, name sFltRecContr, Link IOCARD_SW, Device 33, Input 84 // Flight recorder switch
{
IF &sFltRecContr = 1
{
&FLTREC_G = 1
&FLTREC_SW = 0
}
ELSE
{
&FLTREC_SW = 1
&FLTREC_G = 0
}
}

Var 2693, name OxyPassGrd, static
Var 2694, name OxyPassSw, static
Var 0883, name sOxyPassContr, Link IOCARD_SW, device 33, input 83 // Passenger Oxy switch
{
IF &sOxyPassContr = 1
{
&OxyPassGrd = 1
&OxyPassSw = 1
}
ELSE
{
&OxyPassSw = 0
&OxyPassGrd = 0
}
}

Var 2607, name DOME_WHITE_SW, static, Value 0
Var 0884, name sDW_DIM, Link IOCARD_SW, Device 33, Input 93
{
IF &sDW_DIM = 1
{
&DOME_WHITE_SW = 0
}
ELSE
{
IF &sDW_BRIGHT = 0
{
&DOME_WHITE_SW = 1
}
}
}

Var 2707, name Service_Phone, static, Link IOCARD_SW, Device 33, Input 86

Var 0885, name sDW_BRIGHT, Link IOCARD_SW, Device 33, Input 94
{
IF &sDW_BRIGHT = 1
{
&DOME_WHITE_SW = 2
}
ELSE
{
IF &sDW_DIM = 0
{
&DOME_WHITE_SW = 1
}
}
}
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Re: Problem with some Aft Overhead switches.

Post by CAVENEY747 »

Yes, I have changed the device and input numbers to match my hardware
and checked it again and again - they are correct. There seems to be a problem
with these particular four variables as if I assign other variables to these switches
they work fine. I have even tried using a script with just one line of code for
the 'Service Interphone' in case there was a conflict or something in the script
but it still didn't work and that is pretty basic code!
How do the SIOC variable numbers relate to the PMDG functions (as they are not
the same as the variable numbers published by PMDG that are used in fsuipc) i.e
could there be a problem with how these variables are set up in the software?
mvr1918
Site Admin
Posts: 1633
Joined: Thu Aug 30, 2012 3:35 pm

Re: Problem with some Aft Overhead switches.

Post by mvr1918 »

I check in code and all 4 switches are implemented the same way as other OVH switches.

Can you try to set values 1 and 0 to var number 2607 in IOCPConsole to see if the virtual OVH-AFT switch DOME change.

I am not in my cockpit and can't do it now
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Re: Problem with some Aft Overhead switches.

Post by CAVENEY747 »

I tried this for all the switches that don't work and the virtual switches DID NOT change!
I also tried for some other overhead switches and they changed OK. So what does this mean?
mvr1918
Site Admin
Posts: 1633
Joined: Thu Aug 30, 2012 3:35 pm

Re: Problem with some Aft Overhead switches.

Post by mvr1918 »

I have looked into the code agian more in detail, and it seems to be an issue that could prevent these switches to work. I will try to make a fix withing a few days. I you do not see anything here, send me a reminder.
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Re: Problem with some Aft Overhead switches.

Post by CAVENEY747 »

Thank you very much.
mvr1918
Site Admin
Posts: 1633
Joined: Thu Aug 30, 2012 3:35 pm

Re: Problem with some Aft Overhead switches.

Post by mvr1918 »

Hi,

I have sent you a new updated OCP4NGX.exe to test.


Hopefully the missing 4 OVH-AFT switches are working.

Backup old driver before unzipping this new updated driver to your SIOC folder.

You also have to make 1 modification to the script

- The Var 2707 for the Service phone in the script should be Var 2704


Please test and report back to forum
CAVENEY747
Posts: 37
Joined: Sat Apr 02, 2016 1:43 pm
Location: Scotland

Re: Problem with some Aft Overhead switches.

Post by CAVENEY747 »

Sorry, still not working. Also did more testing and found other
AFT Panel switches not working - I e-mailed you the details.

Thanks for helping with this, Clive.
mvr1918
Site Admin
Posts: 1633
Joined: Thu Aug 30, 2012 3:35 pm

Re: Problem with some Aft Overhead switches.

Post by mvr1918 »

Can you tell me which Master/Expansion combination you have and the IDX you are using for these.

Also send text of your PMDG B737.ini file
Post Reply