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! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

Posts: 1

i have a button to switch between NAV1 + NAV2.
I would like to toggle the frequency on one display depending if NAV1 is set or NAV2.
NAV Button works, but how can i change the display to show only one value depending on state of nav button?

Thank you!
2021-11-01 22:56
From: ETSI, Germany
Posts: 6010
Check if there is a Variable that show this status....
In Case you send soimething like "Nav1 or "Nav2" with you button to the Sim then in the Sim "maybe" there is also a Variable that show if Nav1 or Nav2 is currently selected.

Then you can READ this Data and use it later as a Indicator.

Config 1 is named "NavStatus" and read this information..... It have Value "1" if Nav1 is active or Value "2" if Nav2 is active.
Then you create 2 new Configs.
Config A show Nav 1 on your Display
It use a PRECONDITION and say.... Only work when Config "NavStatus" = 1
Config B show Nav 2 on your Display.
It use a PRECONDITION and say.... Only work when Config "NavStatus" = 2

If there is no data available we can use the "Variable Trick".
In that case your button not controll the Sim itself..... It just toggle a Mobiflight Variable to e.g. 1-2
Then you use this Variable as Indication for your PReconditions.
Good Luck !
2021-11-03 07:41