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
mbuto
Posts: 41
Hello!

For my 1st test instrument I'm building an ADF using a 7 segment display and a rotary encoder.
Basically it's working, but a couple of things need improvement.

Biggest problem is getting the decimal digit to change the units digit (0.9 >> 1.0) when required. I'm using 2 output mappings to deal with the two different offsets, so I expect I need to reference one from the other, but I don't know how.

Minor problem is that although the left/right does work on the decimal, and fast left/right does work on the main digits, it's pretty sloppy. As if the definition of fast and slow is not good.

Suggestions?

Mike
2020-06-16 02:18
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Do it like in real..... Use 2 Encoders ( or 3 in some aircrafts) instead of 1.

Using "Normal Left" for Function 1 and "Fast left" for Function 2 is not a good logic..... As the name said. This is used to turn "normal" or "fast" for the SAME thing. This is NOT to controll 2 systems in case you can not directly turn fast without sending a minimum of one slow command prior.
( In theory you can use a Custom Offset to switch between 2 Modes by the Encoder Push button .... But i would recommend to use 2 Encoders or a Dual Encoder !!)


Then also the other Problem is solved.... Cause in real aircrafts the decimal Encoder will also not swap the Full number .... 1,8 ... 1,9.... 1,0.... 1,1 and so on
But here you can use a trick..... the EventID normaly support 2 modes for the Decimals.... One with swapping the full number and one without.

iconQuote:

ADF FRACT DEC CARRY 66461
ADF FRACT INC CARRY 66462



And this also awnser the main question..... You not need to write this splitted offsets..... Simply use EventID instead !
Good Luck !
2020-06-16 02:43
Avatar
mbuto
Posts: 41
OK - I'm only working with the hardware at the moment to learn with.

Also default FSX ADF does increment the units digit. When I decide on a formal design, I will make things work as in reality!
2020-06-16 06:08
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
To prevent you from a wrong informatio from myself......

I´m not sure if real aircrafts "always" not use the "full number swap" OR if some do so.... If you like it 100% real you should ask a real Pilot of a Aircraft that you like to build
Not ask a other Sim Builder cause maybe he also do a misstake here.

My comment was just a logical result.
If we use TWO ( or three) Encoders that only handle a part of the Frequency ( e.g. one encoder for full numbers and a other for the decimals) then it make simply no sense to carry the full number.....

You will normlay at first set the full number lets say you like COM1 123,45
So you set 123 with Encoder 1...... THEN you use Encoder 2 to set .45 .....
If you turn with encoder 2 now through Zero ( whatever down or up) you will "broke" the already correct full number by +1 or -1 .... And this is not logical and uncomfertable!
Good Luck !
2020-06-16 13:59
icon