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
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: 18
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