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
dpaget21
Posts: 1
Hello there, I am new to mobiflight, trying to come over from Airmanger. I am currious if it is possible to use and encoder as a dual encoder? encoder big knob left right as usual and encoder small knob left right when pushed. I am able to accomplish this using variables in air manager but just seeing if this is an option with mobiflight?
just to be clear use the one encoder for a dual encoder on the 530
Thanks
2021-03-07 02:33
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Yes
This is possible.... But it´s a little more tricky like in Airmanger pretty sure.... Cause we must use the SIM (FSUIPC) as a Variable Memory.

With the Push Button we can make a Input to the sim.... E.g. we could set Parking Brake if we want.... And we can also set something else like a single "free" Offset in FSUIPC.
Means we define with the Button if a special Offset is 1 or 0 ( or something else for multi Systems).

How to do:
The Encoder Button is used as a INPUT ( Typ Button) and controll a Free Offset... lets Say 66C0 1 Byte INT via a Input Config
A OUTPUT Config ( Without a Device) simply READ now this Offset 66C0 .... And Thats Value is our Idicator for other Things.

In Easy words... We have no posibility for a "Variable" in Mobiflight... So we use the FSUIPC Offsets to build this and read that Offset again to have a Indication.


Finaly you got 2 INPUT Configs for your Encoder. Both use the same Encoder as Device.
The First controll e.g. COM1 Khz .... The Second controll COM1 Mhz.
Each got a PRECONDITION .... Liek the first say "Only Work if Indicator Config = 0" .... The second "Only work if Indicator Config =1 "

******

How the Button Logic works.....

Normaly we use a "toggle" here. Means we press the Button momentary and execute a "toggle".... Formula like if($=1,0,1)
So a Press toggel form 0-->1 or from 1-->0 .... The release do nothing.

Your Idea is a "hold".... Means we say On Press set the Value to 1 ..... On Release set the Value to 0 .
Without push the Button Mode 0 is active. If you Push it and hold while turning Mode 1 is active. After release the Button Mode 0 is active again.

Finaly also a multi toggle is possible. With e.g. formula if($=5,0,$+1) we would toggle a Offset 0,1,2,3,4,5,0,1,2,3,4,5 and so on. So we could for example switch between COM1, COM2,NAV1,NAV2,ADF1,ADF2 with a single button.... Interesting for guys who like to build a Radio with only one Display and Encoder.

*******

I hope you understand the basics.... Try out. If you need help please tell me exactly what button should do and how system must work. Then i can build the logics for you.
Good Luck !
2021-03-07 04:35
icon