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
shearder
Posts: 11
Hi guys,

Is there a way to have a selector switch to change to IAS XRS HDG ALT etc and when selected you can use a single encoder to adjust the values, same as on the radios.

Thank you in advance.
2020-11-14 19:00
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Yes this is possible. The system is the same like with a button to swap between Khz and Mhz.
(Check this .... https://www.mobiflight.com/forum/topic/652.html
Technical also the same like we explane 1000 times to show 2 Things on one Display.....

You need a PRECONDITION !

So your Input Switch ( Whatever a momentary Button you toggle between different modes by pressing.... OR... A Rotary Switch with multiple positions) is used to select a special system.
Both finaly occure in a Custom Offset ( e.g. 66C0 1 Byte INT) that change its value between the number of needed modes.
If you got 4 Modes the Costom Offset change between 0,1,2,3 ..... 6 Modes it is 0,1,2,3,4,5 e.g.
With a Momentary Button we use a Input Formula like for 4 Modes if($=3,0,$+1) So if you press the Button it will Add1 expect it is still 3 ( 4th mode) then it will set back to 0.
With a Rotary switch each Position is a single Button.... Most left Position set Offet to 0 .... next to 1 .... Next to 2 and so on.

Finaly.... You get multiple Configs for the Encoder.... ALL use the same Encoder. One is selected to the SPD Event/Offset.... The next to HDG.... the next to ALT and so on.
Now if you turn the encoder it would change all different systems SAME time.... So we need to tell Mobiflight that only one Config should be used at the moment !
EACH config should get a own Precondition. the first "Only work if Costom Offset is 0".... The second "ONly work if Custom Offset is 1" and so on.
Then only the Config that is represent the current value of the custom Offset is active !

********************

I hope you still understand. If not please use search for PRECONDITION .
Good Luck !
2020-11-14 19:54
Avatar
shearder
Posts: 11
Ah ok I think I understand. I will test and then if necessary I will search for that.

Thank you :)
2020-11-15 06:29
icon