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
MrAliec
Posts: 2
Hi! I'm newbie to Mobiflight, please explane what i'm doing wrong, or maybe i've found a bug? )

My test setup
Inputs:
analog input (range 321-791) action type variable (MyVar), value @
Outputs:
Mobiflight Variable( Type=Number, Name=MyVar)
Modifiers:
1. Interpolation
input 321 maps to 0
input 791 maps to 100
2. Tranformation
expression: $/100 (Also tried $*0.01)
Display:
Type=Input Action OnChange
Action type: X-Plane
Dataref = sim/cockpit2/engine/actuators/throttle_ratio_all
Value=@

Test setting works well - input value 450 gives result 0.28 also "output Value" column shows correct value but x-plane throttle stay idle until value reached 1.00, then throttle goes to max.

To debug packets sent to x-plane i run WireShark, and:
in UDP packet DREF contains Value: 0
if transform is disabled - value sent to X-plane is correct (same as Output shows)
p.s. tested also with latest beta release (10.0.2.2)
[Last edited by MrAliec, 2024-01-05 22:26]
2024-01-05 22:17
Avatar
jaimeleon
Posts: 26
Sounds like a minor bug.
I will open a bug report in Github.
Please join our Mobiflight discord server.

https://github.com/MobiFlight/MobiFlight-Connector/issues/1571
[Last edited by jaimeleon, 2024-01-07 16:27]
2024-01-07 16:17
Avatar
MrAliec
Posts: 2
Issue fixed by adding /100 to a dataref value in Display section of output settings
But logic is very strange
2024-01-07 21:59
icon