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
Julesta
Posts: 129
Hello friends.

I do not know, but with the last version of MB, all my SW, has issues.. With 9.2.0 no ?????!!!!!, Any idea, please?

But the question now is that when the frequency of NDB is more than XXX for example, 1.456 I do not know how to managed ir. Using OFFSET of FSUIPC for FSX... I can see ADF_1, ADF_10, ADF_100 but for the thousands? Could you help me?

Sincerelly, :) :) :)
2022-12-11 22:12
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hi Julesta,

I myself use it as follows:

1. Encoder:
Encoder ON_LEFT: ADF1_RADIO_TENTH_DEC (EventID:66453), Parameter -1
Encoder ON_RIGHT: ADF1_RADIO_TENTH_INC (EventID: 66454, Parameter +1

2. Encoder:
Encoder ON_LEFT: ADF1_WHOLE_DEC (EventID:66543), Parameter -1
Encoder ON_RIGHT: ADF1_WHOLE_INC (EventID: 66542, Parameter +1

To display the values on i.e. 7-Segment Display, use as outputs:

Offset 0x034C INT 2 Bytes MASK 0xFFFF activate BCD-Mode!! - that's in the tab Sim-Variable
in the display-Tab choose Output Device, your Module and Use Type of [your one]
Choose your Display-Name and the number of Digits 5 and no left padding
1 2 3 4 5
X X X
X
for the digits 2, 3 and 4 and the decimal

To display the 1000th of the value
same as above but use offset 0x0356 INT 2 Mask =0xFF00 and BCD-Mode
Display-Tab: as above, number of Digits 5, use left padding "SPACE" and use display
1 2 3 4 5
X

the fraction is the lower byte of offset 0x0356
Define offset 0x0356 INT 2 Bytes, Mask 0xFF BCD-Mode
Display Tab as before and define Digits

1 2 3 4 5
X

The offset 0x0356 contains in the first byte then fraction. Therefore the mask on 0XFF, and the 2nd Byte of 0x0356 contains the thousandts of the value, therefore the mask 0xFF00. Only with the masks the repective other value is filtered.

Try it and report your experiences
Grüße,
Stephan (Time: UTC+2)
2022-12-14 15:19
Avatar
Julesta
Posts: 129
Thanks a lot my friend Stephan.

Thank you for your time an help. Because I´m using LCD, not 7-segments, all your job it´s not good for me. I will follow with my 3 ADF_1,10,100. When in the hundreds I pass 9, the display only has 2 digits, and then I know that the ADF is of hundreds. I can see in the game that all is correct.

Sincerely, my friend: again thank you for your interest and for your time.

Un cordial saludo (Spanish!!!!) :) :) :)
2022-12-14 20:57
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

This is also possible for LCD but need a little more work.
If you need still help.... Lets talk on Discord if possible,
Good Luck !
2022-12-28 19:15
Avatar
Julesta
Posts: 129
Ok. Thank you very much!
2023-01-03 22:07
icon