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
PhM34
Posts: 7
Hi,

In spite of all the messages concerning the ON-OFF-ON function in this forum, I did not succeed in adapting my case for the A320 of Fenix very well informed with the many Events available.

I'm trying to use the function :
FNX320_SAFETY_EMER_EXIT_LT_OFF_ARM_ON_TOGGLE#(L:S_OH_INT_LT_EMER, Number) ++ 3 % (>L:S_OH_INT_LT_EMER, Number)

My ON-OFF-ON switch is correctly connected in A0/GND/A1 and I manage to operate the switch on all 3 positions when going up but when going down, it's a mess...

I think my problem comes from the function concerning the central position which must be common to both switches.

Do I have to change the "Number" of the Events?

Thank you for your help, because I am a beginner...

Philippe
i9 10850K 5,0GHz / Asus Prime Z490-A / 32Go DDR4 3200 / RTX3080 FE 10Go / M2 970PRO 1To / SSD 860PRO 1To / HDD 4To / Fractal Design Define 7 TG / Corsair RM850 / Watercooling / W10 pro 64 / Virpil + Grip / TCA complet / MCDU matériel de A320FCU / mini-OVH / Stream deck (classic et +) / Mini FCU
2022-08-18 08:23
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Your showed Function is a "Toggle".
So for people who have only a single momentary button instead of the realistic 3 Pos Latching switch as you have.
So they can toggle between OFF-ARM-ON-OFF-ARM-ON and so on by press the button.


There are Presets for your Hardware, too.

FNX320 Sign Emergency Exit Switch OFF
0 (>L:S_OH_INT_LT_EMER)


FNX320 Sign Emergency Exit Switch ARM
1 (>L:S_OH_INT_LT_EMER)

FNX320 Sign Emergency Exit Switch ON
2 (>L:S_OH_INT_LT_EMER)


In case you have no ON-ON-ON Switch we need to rework the logic a bit for the Mid Position.... In a ON-OFF-ON Setup the Mid Position is simply the release from both Switches.
So no mater if you move UP-->MID or DWN-->MID .... Both Releases must send the middle "ARM" Command.
Good Luck !
2022-08-18 19:21
Avatar
PhM34
Posts: 7
Good evening pizman82,

Thanks a lot, it's perfect now!

I struggled with the "toggle" which I didn't understand the "fugitive" function

I can continue my mini-OVH project for the Fenix A320.

Philippe
i9 10850K 5,0GHz / Asus Prime Z490-A / 32Go DDR4 3200 / RTX3080 FE 10Go / M2 970PRO 1To / SSD 860PRO 1To / HDD 4To / Fractal Design Define 7 TG / Corsair RM850 / Watercooling / W10 pro 64 / Virpil + Grip / TCA complet / MCDU matériel de A320FCU / mini-OVH / Stream deck (classic et +) / Mini FCU
2022-08-18 20:53
icon