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.

icon
Avatar
TheIrishAviator
From: Ireland
Posts: 11
Hi,

I want to find out from all you smart people on here if the following would be possible for MSFS using mobiflight.

Could I make 1 universal screen (7 segment or LCD) with the appropriate encoders/buttons that could be used for not only one function i.e. toggled between a transponder/ADF/COM/ panel?

Just an idea as it would mean i could have the one panel for a few functions?

Any replies appreciated. Thanks.

Seamus
2021-01-23 01:11
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Short:
Yes this is possible basicly.

The Key is the Precondition system.... And for more advanced things the Placeholder System.
You simply say "Device should do the action X if a special condition is true.... For example if Your panel is selected to Radio then the Display should show COM1. If Panel is selected to Navigation the same Display should show NAV1.

*********
More information if you like to know the technical facts...

Inputs work always with Preconditions ( here placeholder are not implement till now) .
If a Button should do 3 different things ( e.g. swap Com1 in Radio Mode.... swap Nav1 in Navigation mode and Select AP On in Autopilot Mode )
Then you build 3 Input Configs.... All use the same Button as device. And each config make the needed Input to the Sim.
Without Preconditions a button pres would now execute all 3 commands in a row.
If you use Preconditions and say e.g. the Com Swap should only happen if "Com Mode =1" then this button only send a command in this mode ( if condition is true)
So each Input get a unique Condition..... So only one is active at a time.

Outputs can work the same way....
So you like on a Display COM1 ..OR.. NAV1 whatever mode is active.
You would build also 2 Configs.... Both use the same Diggits on the Display. One show COm1 the Other NAV1.
Without precondition Display is flickering verry fast with both numbers.
But if you say via Precondition that each Config should only work in it own mode.... then only one is active finaly.

For difficult adavnced Situations we use Placeholders.... Here we would build only one Config for the Display and handle the needed data via a formula that read other Config Values as Variables.... For example we would Build 2 Config that read COM1 and NAV1.... And use this values as "a" and "b" Variables and additional we read the "indicator" as a 3rd variable C. Finaly we say in a formula IF "c" shows ComMode then show "a" ELSE show "b".

************
Simply ask if you get stuck and need a little help!
Good Luck !
2021-01-23 07:47
Avatar
TheIrishAviator
From: Ireland
Posts: 11
iconpizman82:

Hi

Short:
Yes this is possible basicly.

The Key is the Precondition system.... And for more advanced things the Placeholder System.
You simply say "Device should do the action X if a special condition is true.... For example if Your panel is selected to Radio then the Display should show COM1. If Panel is selected to Navigation the same Display should show NAV1.

*********
More information if you like to know the technical facts...

Inputs work always with Preconditions ( here placeholder are not implement till now) .
If a Button should do 3 different things ( e.g. swap Com1 in Radio Mode.... swap Nav1 in Navigation mode and Select AP On in Autopilot Mode )
Then you build 3 Input Configs.... All use the same Button as device. And each config make the needed Input to the Sim.
Without Preconditions a button pres would now execute all 3 commands in a row.
If you use Preconditions and say e.g. the Com Swap should only happen if "Com Mode =1" then this button only send a command in this mode ( if condition is true)
So each Input get a unique Condition..... So only one is active at a time.

Outputs can work the same way....
So you like on a Display COM1 ..OR.. NAV1 whatever mode is active.
You would build also 2 Configs.... Both use the same Diggits on the Display. One show COm1 the Other NAV1.
Without precondition Display is flickering verry fast with both numbers.
But if you say via Precondition that each Config should only work in it own mode.... then only one is active finaly.

For difficult adavnced Situations we use Placeholders.... Here we would build only one Config for the Display and handle the needed data via a formula that read other Config Values as Variables.... For example we would Build 2 Config that read COM1 and NAV1.... And use this values as "a" and "b" Variables and additional we read the "indicator" as a 3rd variable C. Finaly we say in a formula IF "c" shows ComMode then show "a" ELSE show "b".

************
Simply ask if you get stuck and need a little help!




Hi Pizman,

Brilliant reply thank you very much!! I appreciate your time and help. I’ll have a look into the precondition system and go from there with what you told me.

Thanks again!
Seamus
2021-01-24 20:23
icon