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
Skino
From: Brandenburg an der Havel, Germany
Posts: 33
Ich versuche mit VB 2013 den Wert für Autopilot Course am Offset 0CE4 auszulesen aber ich bekomme immer "0" als Wert. Fehlermeldungen kommen nicht.
Ich registriere den Offset mit

"Public CRS As Offset(Of Integer) = New FSUIPC.Offset(Of Integer)(&HCE4)"

und rufe ihn dann mit

" CrsWert = "CR " & (CRS.Value)"

auf. Das selbe mache ich mit Altitude, V/S und Heading und es funktioniert wie erwartet, nur bei CRS nicht. Laut Tabelle ist es ein 16 Bit Wert mit der Länge 2. Habe auch schon als SHORT und INT16 deklariert, aber nichts hilft. Hat jemand Ahnung was ich da falsch mache?

Mobiflight zeigt den Wert mit den selben Parametern völlig korrekt an.

Peter
2016-12-26 11:36
Avatar
Skino
From: Brandenburg an der Havel, Germany
Posts: 33
Hat sich erledigt, war ein Dreher drin. HCE4 habe ich registriert ,HC4E wäre der erste Preis gewesen :blush:
Klappt jetzt alles.
[Last edited by Skino, 2016-12-26 15:28]
2016-12-26 13:31
Avatar
DocMoebiuz
From: EDSH, Germany
Posts: 1516
Gut, dass Du den Fehler gefunden hast! Manchmal verstecken sich die in so Kleinigkeiten, die man leicht übersieht.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-12-27 04:01
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
Jepp..... Ich bin ja noch nicht soooo lange in der Thematik aber dieses Hex Dezimal hat mir schon viele böse Überraschungen beschert. 10 Stunden reichen zusammengezählt sicher nicht mehr, in denen ich nach nen Fehler gesucht habe und in wirklichkeit hab ich nur z.b. E4 und 4E vertauscht.

Aber auch wenns schadenfroh klingt..... Tut gut zu wissen, das es auch den alten Hasen gelegentlich noch passiert :D
Good Luck !
2016-12-27 13:26
icon