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
optibit
From: Hausleiten, Austria
Posts: 1
so, if i like to send a Command if my readonly Dataref Value is 1, otherwise NO Command is send?

any Idea?

thx Torsten
2023-09-18 12:55
Avatar
XPRoberto
From: Hungary
Posts: 65
Hi,
You simply create an output from the readonly dataset: give a name (ANY_VAR) for it and leave the display tab empty.
Then for the input action give a precondition (ANY_VAR=1) and the command on the Input tab.
Hope it helps :)
----------------------------------------------------------------
Do you know that you can simplify: if($=1,0,1) ?
Use simply: 1-$ :)
2023-09-19 23:54
icon