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
38623410@qq.com
Posts: 7
ADF1 switch using "if ($=0, 1, 0)" parameters can work properly


http://p1.bpimg.com/1949/e094c74eae8d29c1.png NAV2 button using the same parameters as above, the NAV2 switch can only be turned on but can not be closed


This situation also appears on other keys, is my parameter error? Please help me. Thank you very much!
Please excuse me for using Google translate:love: :love: :love: :love:
2016-12-13 13:23
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1516
That's weird. try to use an eventid instead of fsuipc. KEY_RADIO_ADF2_IDENT_TOGGLE might work for you.

I will try to reproduce your FSUIPC problem.
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-13 13:48
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
Hello.
Youre screenshot shows a two row Button Setup. What plane is this ? Maby a AddOn ??

In FSX Standrad Cessna the Offset Preset workes for both buttons of youre example without issues.

If you use a addon, maby this use other offsets !

iconQuote:

This situation also appears on other keys,


Remeber some Keys can NOT be set to off by toggle (push again when on ) like the COM1 or COM2.
Try to toggle these switches by Mouseclick in FSX.... Can you put it Off with click again ?
Good Luck !
2016-12-14 01:17
Avatar
38623410@qq.com
Posts: 7
iconpizman82:

Hello.
Youre screenshot shows a two row Button Setup. What plane is this ? Maby a AddOn ??

In FSX Standrad Cessna the Offset Preset workes for both buttons of youre example without issues.

If you use a addon, maby this use other offsets !

iconQuote:

This situation also appears on other keys,


Remeber some Keys can NOT be set to off by toggle (push again when on ) like the COM1 or COM2.
Try to toggle these switches by Mouseclick in FSX.... Can you put it Off with click again ?



I use the A2A 172 plug-in. After testing only ADF1 can work properly, the other buttons are still not normal
2016-12-14 04:50
Avatar
38623410@qq.com
Posts: 7
iconDocMoebiuz:

That's weird. try to use an eventid instead of fsuipc. KEY_RADIO_ADF2_IDENT_TOGGLE might work for you.

I will try to reproduce your FSUIPC problem.



I will try to say the way you say, when the problem is solved I will be with you
2016-12-14 04:51
Avatar
38623410@qq.com
Posts: 7
Hello.
I think the offset can be controlled by the A2A plug-in, because when I press the button the simulator will also light up the corresponding button, but it is only lit and can not be closed
iconpizman82:

Hello.
Youre screenshot shows a two row Button Setup. What plane is this ? Maby a AddOn ??

In FSX Standrad Cessna the Offset Preset workes for both buttons of youre example without issues.

If you use a addon, maby this use other offsets !

iconQuote:

This situation also appears on other keys,


Remeber some Keys can NOT be set to off by toggle (push again when on ) like the COM1 or COM2.
Try to toggle these switches by Mouseclick in FSX.... Can you put it Off with click again ?

2016-12-14 05:05
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
iconQuote:

I use the A2A 172 plug-in. After testing only ADF1 can work properly, the other buttons are still not normal



Thats the Problem !! .... Some Functions of the A2A can not be controlled by normal FSUIPC Offsets.


This is a Quote of a other Mobiflight Thread.... http://www.mobiflight.de/forum/message/1859.html
iconQuote:

I am running the A2A C172 and soon will be adding the A2A C182.

Both require the use of LVars to work certain functions that are coded outside of FSX. For example, The offsets for transmit Com1 and Com2 and the Nav1 Nav2 Audio Selector offsets do not activate the corresponding functions in the A2A's Audio Selector Panel. However the LVars needed to do that are available.




Maby this Thread will help you too..... It´s shows how to set Lvars with Mobiflight and Lua
http://www.mobiflight.de/forum/topic/251.html


Good Luck !
Good Luck !
2016-12-14 11:25
Avatar
38623410@qq.com
Posts: 7
Thank you very much, I am currently trying to get the solution.
2016-12-14 11:47
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
No Prob.....
Use the Link in the Lvars Thread to the A2A Board..... https://a2asimulations.com/forum/viewtopic.php?f=23&t=19751

I think the method with "Macros" is a little difficult but when you got no practice to write own LUA Script thats the more confortable way. You need to use Keypresses but so you not need to work with custom Offsets. YOURE Chioce ! Good luck
Good Luck !
2016-12-14 12:35
icon