MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

icon
Avatar
sreen74
Posts: 6
I have connected all pmdg ngx overhead LEDs ok but I want the LEDs to turn off when the battery switch is off. I know you can add pre conditions but have no idea how to do it. A basic tutorial would be very helpful if any one knows how to do it.
2016-10-25 20:29
Avatar
777-Pilot
Posts: 26
Hi,

I am also currently working on a Mobiflight/NGX project.

To my understanding, if you have connected the NGX announciators to your Arduino via Mobiflight, the lights should only light up when the in-game NGX announciators are on. So in theory, there should be no preconditions necessary...

David
2016-10-25 22:30
Avatar
sreen74
Posts: 6
Hi,

Thanks for your reply.

That is what I thought and they do all work correctly when there is power, however When turning the battery switch off some annunciators stay illuminated even though in game they are turned off.

Stuart
2016-10-26 09:46
Avatar
777-Pilot
Posts: 26
Hi Stuart,

that is weird indeed... Are you sure there is no problem with the connection of the announciators and Mobiflight/FSUIPC?

You could try though to find the offset for the main battery switch and use its "on" state as precondition for the announciators that dont work (basically the same as done in the Precondition tutorial).

Maybe that helps.

David
2016-10-26 14:51
Avatar
sreen74
Posts: 6
Finally got it to work using precondition. Many thanks
2016-10-27 15:31
Avatar
jjvelar
Posts: 47
Hi,

Can you share how did you use the precondition? I have the same issue with the emergency exit light not armed annunciator.
Thanks,

Jose
2016-12-27 21:23
Avatar
pizman82
From: ETSI, Germany
Posts: 5128
Supporter
@ Jose....
I reply in other thread..... http://www.mobiflight.de/forum/message/3298.html
Good Luck !
2016-12-28 02:54
icon