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
pilota57
From: Bolzano, Italy
Posts: 60
Supporter
Dear All's,
as per your suggestion in post https://www.mobiflight.com/forum/message/20647.html I set my 20x4 lcd display with first page as radio stack and a second page with fuel infos, apu % etc. and all is working as desired.

The only thing is that when Mobiflight runs at the left of the two Output items a red exclamation point appears alternativelly (when I push the swap button) with popup message "Precondition is not satisfied" sure coming from the two LCD Outputs "Precondition" tab where I set the preconditions 0 and 1 to swap the pages:

Precondition Tabs that looks at free used offset changes at button press
for page 1
LCD_SWAP_PAGE = 1 (AND)

for page 2
LCD_SWAP_PAGE = 0 (AND)

Thanks a lot for suggestion if is possible to remove the two red exclamation point.
Fuarce Friûl
2020-10-28 19:48
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hi Fuarce,

the exclamation marks have their sense. They indicates that you have defined a precondition that is not active at the moment. This is compliant to another config where a precondition is active. These two, three or more preconditions depends to each other. The inactive ones have the exclamaion mark to indicate that the are not active.
That's all and the indication make sense
Grüße,
Stephan (Time: UTC+2)
2020-10-28 20:51
Avatar
pilota57
From: Bolzano, Italy
Posts: 60
Supporter
iconStephanHo:

Hi Fuarce,

the exclamation marks have their sense. They indicates that you have defined a precondition that is not active at the moment. This is compliant to another config where a precondition is active. These two, three or more preconditions depends to each other. The inactive ones have the exclamaion mark to indicate that the are not active.
That's all and the indication make sense



Hi Stephan und guten abend.
I create the following configuration as per Pizman82 suggestion:
"You need TWO Configs for that Display. And a Precondition each that it should only work if a "indication config" is e.g. "1" and the other should work if that config is "0"

Step 1: Input Config for your Push Button ..... Offset is a FREE Offset . e.g. 66C0 1 BYte INT . Value is: if($=1,0,1)
Means if you press the button it "toggle" the Offset. If it´s 1 it will set to 0 .... If it´s 0 it will set to 1.

Step 2: A Output Config that READ exactly that Offset ..... Name it e.g. "Display Toggle" . You need no device there. Just read 66C0 1 Byte INT."

All works as expected (also without errors in MF logging) but I dont know how to "close" correctly the preconditions to avoid the exclamation points. Probably the precondition require an additional command.

Obviously it's only an aesthetic issue.

Bye
Fuarce Friûl
2020-10-28 21:08
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Please note:
if you have preconditions and configs which depends together, you can not avoid the exclamation mark. The precondition also does not need an additional comand.
In your case you need a precondition which switches one config to ON so that you can see the values of screen 1. In the same time another precondition blocks your config which would show you the values of screen 2. So MF shows you the precondition which is not active via an exclamation mark. If you now switch from sceen 1 to screen 2 the 2nd. config gets active and the 1st is deactivatet. In the same time the exclamation mark changes from config 2 to config 1. So all is correct.
Grüße,
Stephan (Time: UTC+2)
2020-10-28 21:17
Avatar
pilota57
From: Bolzano, Italy
Posts: 60
Supporter
iconStephanHo:

Please note:
if you have preconditions and configs which depends together, you can not avoid the exclamation mark. The precondition also does not need an additional comand.
In your case you need a precondition which switches one config to ON so that you can see the values of screen 1. In the same time another precondition blocks your config which would show you the values of screen 2. So MF shows you the precondition which is not active via an exclamation mark. If you now switch from sceen 1 to screen 2 the 2nd. config gets active and the 1st is deactivatet. In the same time the exclamation mark changes from config 2 to config 1. So all is correct.



Dankeschön Stephan,
du hast mir Zeit gespart.
Tschus
Fuarce Friûl
2020-10-28 21:50
icon