Hi Japmaco
AT FIRST....
Please awnser to my request in this topic... https://www.mobiflight.com/forum/message/5660.html We realy need your information there !!! Thanks !
To your Question....
YES This is possible.
With using "Preconditions" you can use different Configs for ONE Hardware part ( For one Display in your case)
Basicly there are 2 Rules you always should check !
1. There should be never more that ONE Config Activ on a Output ( if they like to show different things) Elseway you got an issue if 2 Things on the Display same time !
2. There must be always ONE Config active in every time.... Else the Display is not controlled and will show the LAST Readout Value "forever"
To the Preconditions....
You need a indicator ( A Existing Output Config) to define in the Precondition WHEN the current Config should be shown.
So you can use 2 technics...
1. You use a existing FSX function for this.
Simply example.... You readout the Parkingbrake Offset. Then you create 2 Configs for the SAME Display... One with DME distance.... One with DME Time.
Then you make on both configs a Precondition .... DME Distance only work if Outputconfig Parkingbrake = 0 DME Time only work if Outputconfig Parkingbrake Bigger Zero >0
Now your Display will swapp always when you change the Parkingbrake On/OFF
I Know here parking Brake makes no sence.... BUT This only should show you the technic.... Maby you like a condition like "If Distance bigger the 20 nm it should show TIME if Distance is less then 20 miles it should show DME-DISTANCE in the Display."
SO... THIS Technic is usefull if the Condition is a FSX Internal Status !
2. You use a Custom Offset to work with a button like you requested)
Please check this tutorial ....
https://www.mobiflight.com/forum/topic/652.html
I Know this is for a multible Button Controll.... BUT The System is the same.... You set to a button a logic that controll a CUSTOM OFFSET ..... Then you use for your Display THIS Custom Offset for the Precondition ! ( In the Guide he use the Preconditions for a INPUT.... You will use it for the Output ! )
So THIS tehcnic is usefull if you like to controll the Swap completly yourself
I hope you can do this with the tutorial. If you need more help please ask HERE again !