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!
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.
Code:
if CustomOffset == 0 set OffsetCom1 ; (eben das Offset das für Com1 FreqSwitch zuständig ist) elseif CustomOffset == 1 set OffsetCom2 elseif....
Ich habe den schrecklichen Verdacht, dass ich mir wohl nicht das einfachste Projekt für meine ersten Schritte mit Mobiflight ausgesucht habe.
Wichtige Frage ist welches AddOn.
Ob ADF2 geht weiß ich nicht.... Gibt es das im FSX überhaupt noch ?
Das heißt, drücke ich z.B. den Taster für Nav1, soll nicht nur die Nav1 Frequenzen angezeigt werden, sondern auch die Taster-LED leuchten - und im Idealfall auch wieder ausgehen, wenn ich ein anderen Taster betätige.
![]()
034C 2 ADF1 Frequency: main 3 digits, in Binary Coded Decimal. See also offset 0356. A frequency of 1234.5 will have 0x0234 here and 0x0105 in offset 0356.
(See also offset 0389)
02D4 2 [FS2004 only] ADF2 Frequency: main 3 digits, in Binary Coded Decimal. See also offset 02D6. A frequency of 1234.5 will have 0x0234 here and 0x0105 in offset 02D6.
0356 2 Extended ADF1 frequency. The high byte contains the 1000’s digit and the low byte the fraction, so, for a frequency of 1234.5 this offset will contain 0x0105.
034C 2 ADF1 Frequency: main 3 digits, in Binary Coded Decimal. See also offset 0356. A frequency of 1234.5 will have 0x0234 here and 0x0105 in offset 0356.
(See also offset 0389)
......
Hab also erstmal eine ADF1-Config angelegt. 0x034C, Int, Bytes 2, BCD.
Mein Display zeigt nun aber nur die Ganzzahlen an, also 00473. Richtig müsste es 473.0 sein.
......
0356 2 Extended ADF1 frequency. The high byte contains the 1000’s digit and the low byte the fraction, so, for a frequency of 1234.5 this offset will contain 0x0105.
Dieses Offset habe ich auch mal getestet, liest aber nur Nullen aus.
Warum es verdreht ist kann ich dir leider gerade nicht sagen. Du kannst aber auch nur das hintere Byte auslesen in dem Du für den Offset 0356 + 8 machst - also 035E und dann bei Byte Size nur 1 verwendest.
Die Lösung deines Problems auf English gibts hier im Forum im Detail ..... https://www.mobiflight.com/forum/message/3406.html