Dome switch on start up

This is the forum for all your MSFS 2020 - PMDG 737 driver questions and issues
Post Reply
biggstuff
Posts: 87
Joined: Wed Aug 09, 2023 3:57 pm

Dome switch on start up

Post by biggstuff »

Hello
So I realized that my dome switch for OVH always mismatch the VC on startup
My OVH switch is always on OFF but when I load Oi4fs every switch on the VC would move to match what I have on my OVH.
However the Dome switch would stay on DIM. I have to cycle the OVH switch to have it correspond.
Here is the section of the script and hoping someone can tell me the modification that would let this work accordingly

Var 2607, name DOME_WHITE_SW, static, Value 0

Var 0268, 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
}
}
}
NobbyC_B738
Posts: 60
Joined: Mon Nov 28, 2022 7:38 pm

Re: Dome switch on start up

Post by NobbyC_B738 »

Hi Mr. G

"Value 0" tells variable 2607 to be 0 (= DIM) after loading Oi4FS

Try do delete that initial figure completely;
Var 2607, name DOME_WHITE_SW, static

or, if this doesn't work (I cannot test because I don't have a complete AFT OVH) you can set initial value to 1 (what is OFF)

Var 2607, name DOME_WHITE_SW, static, Value 1
Best Regards
Norbert
(EDDH)
biggstuff
Posts: 87
Joined: Wed Aug 09, 2023 3:57 pm

Re: Dome switch on start up

Post by biggstuff »

Good afternoon and thx for always being ready to help!
I have tried both suggestions you gave and made sure to save and compile fresh data.
Both did not work and the VC dome switch stays on DIM whilst my OVH dome swith is on OFF.
Once I cycle it by moving the OVH dome switch to DIM and back to OFF then the OVH matches the VC dome switch.
Thx as always!!
NobbyC_B738
Posts: 60
Joined: Mon Nov 28, 2022 7:38 pm

Re: Dome switch on start up

Post by NobbyC_B738 »

hard to believe that it doesn't work.
Script code for VAR 2607 + VAR 0268 + VAR 0269 (dome switch) follows same logic as script code for VAR 2679 + VAR 0126 + VAR 0127 ((strobe light switch) In both cases we have 3-position switches ON -OFF- ON that are treated each as 2 single ON -OFF switches

The strobe switch logic works fine without defining a "Value"
Var 2679, name LI_POS_ST, static

You said: "made sure to save and compile fresh data". Do you mean

1) change PMDG B737 *** text file
2) save PMDG B737 *** text file
3) compile PMDG B737 *** text file to ssi-file
4) very important: save compiled ssi-file under same name that you are using for Airplane configuration

Please verify 4)
My only idea now is that compiled ssi-file has not made it to your airplane configuration (mistake in above step 4 or during Airplane configuration)

Maybe I'm wrong, so your feedback is appreciated to learn on my side
Last edited by NobbyC_B738 on Wed May 14, 2025 8:59 am, edited 1 time in total.
Best Regards
Norbert
(EDDH)
biggstuff
Posts: 87
Joined: Wed Aug 09, 2023 3:57 pm

Re: Dome switch on start up

Post by biggstuff »

I meant I recompiled te SIOC script from the Oi4FS script page after I made the changes and saved the .txt file.
Needed to make sure it is in the .ssi file.
But I did not do anything with the .ini file as they are all referencing the same cards.
Now that you mention strobe, that works very well and always matching the VC.
I may have to do it again just to be 100% sure I have compile the .ssi file properly
NobbyC_B738
Posts: 60
Joined: Mon Nov 28, 2022 7:38 pm

Re: Dome switch on start up

Post by NobbyC_B738 »

you are right: should read ssi-file instead of ini-file.
My mistake, sorry for confusion.

I have revised my previous post accordingly

Correct procedure:
1) change PMDG B737 *** text file
2) save PMDG B737 *** text file
3) compile PMDG B737 *** text file to ssi-file
4) very important: save compiled ssi-file under same name that you are using for Airplane configuration (CONFIGURE tab)
Best Regards
Norbert
(EDDH)
biggstuff
Posts: 87
Joined: Wed Aug 09, 2023 3:57 pm

Re: Dome switch on start up

Post by biggstuff »

Yes, I have done these compiling many times as the txt file has been updated with servo numbers and many other changes from blue annunciators etc.
Very familiar with the compile sequences.
But I will recheck and double check because it not working is strange to me as the strobe works perfectly.
I will report back once I get a change to check again.
biggstuff
Posts: 87
Joined: Wed Aug 09, 2023 3:57 pm

Re: Dome switch on start up

Post by biggstuff »

Hi
I redid everything again by taking the Value 0 out
Now it is working as supposed to be.
Not sure, maybe I did not save the txt file properly. But at least now it works and OVH dome switch matches VC dome switch.
NobbyC_B738
Posts: 60
Joined: Mon Nov 28, 2022 7:38 pm

Re: Dome switch on start up

Post by NobbyC_B738 »

Great to hear that dome switch works correctly now on your side and thx for feedback. This confirms that an initial value is not needed for the AFT OVH dome switch (my initial assumption). Maybe Roar can adapt this for future script revisions.
Best Regards
Norbert
(EDDH)
Post Reply