Page 3 of 3

Re: Annunciator blue lights

Posted: Thu Jan 04, 2024 5:04 pm
by James Curry
Norbert,
Interesting reply from the PMDG dev team. Unless im missing something or there are errors they apparently say its already there but you and I beg to differ??
pmdg3
pmdg3
temp3.png (59.17 KiB) Viewed 4190 times

Re: Annunciator blue lights

Posted: Thu Jan 04, 2024 5:54 pm
by mvr1918
I just checked the SDK for the 737 and the 738 and they DO NOT HAVE 0-1-2 implemented for all these variables.
Only the XFEED, ENG_VALVE and SPAR_VALVE hav 0-1-2 as they are defined as unsigned char. The other variables are defined as bool in the SDK, meaning they can only take 2 values, either false of true, corresponding to 0-1.

Maybe the latest 736 SDK has those correctly defined, I do not know as I do not have the 736.

If you have it, check the SDK.


The Oi4FS PMDG 737 driver uses the SDK from the 738.

Re: Annunciator blue lights

Posted: Thu Jan 04, 2024 11:28 pm
by NobbyC_B738
Thanks James for information.
Thanks Roar for confirmation. That is exactly what I have notice and what my script modifications are based on

Things could be so easy if PMDG
- will change values “1” and “2” vice versa for the fuel valve annunciators
- will implement 0 – 1 – 2 for the anti ice valve annunciators

As long as my dreams don’t come true we have to live with script modifications:

1) fuel valve annunciators: script modifications that I have previously posted. That were the easy ones.

2) Anti ice valve annunciators. These were more challenging. It took some trial and errors until I could create the final modifications that work fine during normal operation, cold and dark and don’t come into conflict with Roars magic variable during lights test.

I found 3 additional variables 1158, 1159 and 1160 that are related to variables 1152, 1153, 1156 and 1157. I have put these relationships and delay function into corresponding subroutines, tested for weeks without any problem and can share now

WING ANTI ICE:

Replace lines

Var 1152, name aVALVE_OPEN_L, static, Link IOCARD_DISPLAY, Device 30, Digit 58, Numbers 1
Var 1153, name aVALVE_OPEN_R, static, Link IOCARD_DISPLAY, Device 30, Digit 59, Numbers 1

by the lines as follows:
Wing anti ice.jpg
Wing anti ice.jpg (131.91 KiB) Viewed 4176 times

ENG1 ANTI ICE:

Replace line

Var 1156, name aCO_VA_OPEN_L, static, Link IOCARD_DISPLAY, Device 30, Digit 60, Numbers 1

by the lines as follows:

Eng1 anti ice.jpg
Eng1 anti ice.jpg (71.62 KiB) Viewed 4176 times

ENG2 ANTI ICE:

Replace line

Var 1157, name aCO_VA_OPEN_R, static, Link IOCARD_DISPLAY, Device 30, Digit 61, Numbers 1

by the lines as follows:

Eng2 anti ice.jpg
Eng2 anti ice.jpg (75.25 KiB) Viewed 4176 times

Don't forget to change digit numbers to your hardware numbers, than compile and have fun

For the shared modifications I have used delay 160 what is 1.6 seconds and what is very close tho the annunciator behavior on the PMDG software OVH. In my script I have changed the the variable 1153 delay to 170 (1.7 seconds) so that both wing anti ice valves don't get open at the same time but with a short difference of 0,1 second. That looks great to me, but feel free to change delay figures to any value you want.

Re: Annunciator blue lights

Posted: Sat Jan 06, 2024 8:17 pm
by James Curry
Those scripts are absolutely amazing Norbert,
Good piece of hard work there and thanks for sharing.

Makes the -800 more realistic.
Thank You.

Re: Annunciator blue lights

Posted: Sun Jan 07, 2024 12:59 pm
by mvr1918
The reply from the PMDG team seems incorrect. Report that back to them.

Re: Annunciator blue lights

Posted: Mon Jan 08, 2024 5:56 pm
by NobbyC_B738
Hi James,
thank you for positive feedback. I'm glad that are happy with my script modifications. Enjoy!

These modification should work for all 737-versions, that have only 0 - 1 values on the anti ice valve annunciator variables.

As Roar noted, reply from PMDG team seems incorrect. Maybe they believe us now or realize that no "2" is sent out for these variables.
I will verify IOCP Console regularly after PMDG aircraft update. If they will send out "2" sometime I will revise script modification, hopefully I can simplify.

Re: Annunciator blue lights

Posted: Thu Aug 22, 2024 5:13 am
by biggstuff
Exceptional hardwork on your part Norbert. So much thx for sharing your knowledge and hard work with the community.

Roar, do you typically have plans to incorporate these user improvements to next releases?
Would be nice if we do not have to do major edits after every release of a newer software.

Re: Annunciator blue lights

Posted: Fri Aug 23, 2024 9:46 pm
by NobbyC_B738
Hi all,
my earlier shared script modification for anti ice valve annunciators worked fine with script version 6.5 and the associated driver software. After I changed to the new driver and script version 7.0 I have got a flickering on the ENG ANTI ICE annunciators after switching ENG ANTI ICE on. As the WING ANTI ICE valve annunciators still work fine (same script code), I think it was a timing problem or a conflict between subroutines and call commands.

Actually PMDG 737-800 is on release 3.0.100 and they still don't offer a value "2" for these annunciators.

Therefore I wrote a new script mod and was able to eliminate the subroutines and now all ANTI ICE annunciators work fine on my system with my hardware configuration. I will share the new script mod after it has been successfully tested on another system with different hardware config.

Re: Annunciator blue lights

Posted: Tue Aug 27, 2024 8:04 pm
by NobbyC_B738
all tests were successful so I can share revised 3 states ANTI ICE valve annunciator script modification now: No blue LED flickering any longer with script version 7.0. Should also work with earlier script versions.

1) WING ANTI ICE:

replace lines

Var 1152, name aVALVE_OPEN_L, static, Link IOCARD_DISPLAY, Device 30, Digit 58, Numbers 1

Var 1153, name aVALVE_OPEN_R, static, Link IOCARD_DISPLAY, Device 30, Digit 59, Numbers 1

by lines as follows:
Wing anti ice.jpg
Wing anti ice.jpg (111.01 KiB) Viewed 1623 times

2) ENG1 ANTI ICE:

replace line

Var 1156, name aCO_VA_OPEN_L, static, Link IOCARD_DISPLAY, Device 30, Digit 60, Numbers 1

by lines as follows:

ENG1 anti ice.jpg
ENG1 anti ice.jpg (61.79 KiB) Viewed 1623 times

3) ENG2 ANTI ICE:

replace line

Var 1157, name aCO_VA_OPEN_R, static, Link IOCARD_DISPLAY, Device 30, Digit 61, Numbers 1

by lines as follows:
ENG2 anti ice.jpg
ENG2 anti ice.jpg (62.92 KiB) Viewed 1623 times
Have fun

Re: Annunciator blue lights

Posted: Mon Sep 02, 2024 2:02 pm
by biggstuff
I am very happy with these script mods. It works very well on my setup and matches the PMDG737 sequence.
Kudos Mr. N for your insights, hard work and always willing to help others!!