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
JorgeR147
Posts: 2
Hi, I´m trying to program the buttons of the FMS on XPlane 11 but I can´t get it to work. MobiFlight detect the button when i press it but it does not execute the action. Someone has any idea of what I´m doing wrong or can give me the code that have used? Any comments will be welcome.
Regards.
2023-03-06 13:36
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
If you confirm that the button work technical (Logging show Press and Release correctly) we know Hardware and device setting is fine.

Possible Issues.
1. MF is not in RUN Mode.
(Press Run button and check if it is running by observe the Running text lower right)

2. There is no Sim Connection
Click on Sim Status Dropdown (lower left) and confirm Xplane is detected

3. Your Config is not enabled.
Get sure the hook left of Config Lines are set. Only Active Configs get executed.

4. Wrong Settings in Config
Maybe your issue is just you select the wrong Dataref .
Specially AddOns often use own Dataref and not work with stock Events.
Good Luck !
2023-03-06 14:16
Avatar
JorgeR147
Posts: 2
I can confirm you that the hardware works. Setting the debug mode in MobiFlight, and pressing a button of the FMC gives to lines of info, one with PRESS=>executing"FMC_A" when pressing letter A of the FMC, and RELEASES=>executing"FMC_A".
Modules and Sim status are both correct (with a green tick), and the active box checked. I also confirm that the config is up to date and uploaded in both Arduinos mega.
About DataRefs, I clicked inside the Sim in the specific DataRef of the FMC that writes inside of it, by clicking in activate on the DataRefTool, and I think they are correct selected.
Maybe I am wrong.
Thank you in advanced.
2023-03-07 09:56
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Here i recommend to join our Discord.
There we have Users ( E.g. Samhao) who work with Xplane all time and have experience e.g. with ZiboMod.

Just a Idea....
Some AddOns work parallel with Datarefs and Commands.
Means there is a Dataref that show status and specially it show the animation of the virtual Button.... But these are not used to do the Input.
Those use "Commands" Events instead.
Maybe your aircraft is one of those.

Additional Note.... You say Logging tell you a Press and a Release Command.
Is this correct ?
FMS are momenary Buttons. For Commands we not need releases mostly.
Good Luck !
2023-03-07 18:38
icon