ADF2 Master Index Number Keeps Resetting.

The forum for all issues related to the new OC4BAv5 and the new OCP4NGXu driver for PMDG B737NGXu.
Post Reply
snoopy6129
Posts: 22
Joined: Sun Jan 03, 2016 4:32 am

ADF2 Master Index Number Keeps Resetting.

Post by snoopy6129 »

I have two OpenCockpits ADF plug-and-play modules. Captain's ADF1 works great. My understanding is PMDG does not have configuration to support two ADF modules. Thus, I am working on modifying my SIOC to mirror only the output (7-segment displays) of the captain's ADF to the F/O ADF. I won't be using the F/O ADF for inputs.

My modified SIOC code compiles fine. But I can't test it as my MASTER declaration for my ADFs in SIOC.ini keeps getting reset by OC4BA.

In my SIOC.ini, I've manually modified the MASTER declaration for my two ADFs as follows:
MASTER=10,10,1,35
MASTER=20,10,1,37

However, every time I launch OC4BA, these MASTER declarations keep resetting to the following:
MASTER=10,10,1,35
MASTER=10,10,1,37

I've also tried modifying the two ADF MASTER declarations in the PMDG B737.ini file but it also automatically resets.

Is my manual declaration incorrect?

My System: Win10 Pro, P3Dv3 with PMDG 737NGX, OC4BAv5 with OCP4NGX_v5.1.ssi

Thanks in advance.
mvr1918
Site Admin
Posts: 1628
Joined: Thu Aug 30, 2012 3:35 pm

Re: ADF2 Master Index Number Keeps Resetting.

Post by mvr1918 »

You should not do edits in SIOC.ini with OC4BAV5. Edits should be done in PMDG 737.ini as this file will overwrite SIOC.ini content when the driver is launched.
snoopy6129
Posts: 22
Joined: Sun Jan 03, 2016 4:32 am

Re: ADF2 Master Index Number Keeps Resetting.

Post by snoopy6129 »

Thanks for responding. Yes, I've tired many times editing the ADF MASTER declaration in the PMDG B737.ini file only:

MASTER=10,10,1,35
MASTER=20,10,1,37

However, as soon as I select my script in the OC4BAv45 Config screen, the MASTER declaration for my ADF is changed back to:
MASTER=10,10,1,35
MASTER=10,10,1,37

Thus, my modified Master declaration in PMDG B737.ini file is being overwritten by OC4BAv45. My understanding is that this should happen.

Suggestions on how I can troubleshoot so both my P&P ADF modules are recognized?

Thanks.
mvr1918
Site Admin
Posts: 1628
Joined: Thu Aug 30, 2012 3:35 pm

Re: ADF2 Master Index Number Keeps Resetting.

Post by mvr1918 »

Why do you need to select your script again in OC4BAv5 Config? Once you have a good PMDG 737.ini there is no reason to use Config. Just start the driver as usual
snoopy6129
Posts: 22
Joined: Sun Jan 03, 2016 4:32 am

Re: ADF2 Master Index Number Keeps Resetting.

Post by snoopy6129 »

I normally do not need to select my script again. However, I am trying to troubleshoot to get my second ADF P&P module to be recognized. I've edited the PMDG 737.ini file to assign MASTER declaration for the ADFs to the appropriate Device Index value. However, as I mentioned before, the values gets reset to 10 for both declaration when I open the OC4BAv5 Config screen.

If I don't open OC4BA Config screen, my second ADF don't not work and the 7-segment displays do not illuminate.

What is the expected behavior with OC4BA when there is two P&P ADFs? What should I see as my MASTER declaration for my my ADFs?

Thanks in advance.
mvr1918
Site Admin
Posts: 1628
Joined: Thu Aug 30, 2012 3:35 pm

Re: ADF2 Master Index Number Keeps Resetting.

Post by mvr1918 »

Check this topic to make a functional script for an ADF2 and remember to make the changes to the configuration file only in PMDG 737.ini and not in SIOC.ini

http://www.flightsim4fun.com/Forum/view ... ADF2#p2241
snoopy6129
Posts: 22
Joined: Sun Jan 03, 2016 4:32 am

Re: ADF2 Master Index Number Keeps Resetting.

Post by snoopy6129 »

Thanks for the link. This is the post that I saw that gave me the idea of mirroring ADF1 to ADF2. I will re-evaluate my setup and script to make sure I am not overlooking something. I'll let you know what I find. Allow me several days to follow up. Thanks.
Post Reply