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
oal163
Posts: 6
Dear all,

I'm trying to build a panel and I'm looking for the var to set the three different positions of the knob, STBY/Auto/On. It's the Left first knob.
Does anyone knows which is the variable ? I found the TCAS modes (stby/ta/tara) but not this one.
I visited the hubhop but no luck

Thank you in advance
Spiros
2022-01-25 23:21
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

You need to ask this on DISCORD. https://discord.gg/99vHbK7
(Cause only a few FBW Users are here in Forum, and i´m not one of them)

Hopefully they can help you directly....
If not you can call me there.... Then we can find out this together in a shared screen seasson.
Good Luck !
2022-01-26 12:31
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Solved via Discord .....

For Toggle:

iconCode:
(A:TRANSPONDER STATE:1, enum) 1 == if{ 3 } els{ 1 } (>A:TRANSPONDER STATE:1, enum)


For SET

iconCode:
1  (>A:TRANSPONDER STATE:1, enum)
Good Luck !
2022-01-26 22:11
Avatar
oal163
Posts: 6
Hi, again
Thank you so much for your support!!!!
You are doing a great job
Spiros
2022-01-26 22:23
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconpizman82:

Solved via Discord .....

For Toggle:

iconCode:
(A:TRANSPONDER STATE:1, enum) 1 == if{ 3 } els{ 1 } (>A:TRANSPONDER STATE:1, enum)


For SET

iconCode:
1  (>A:TRANSPONDER STATE:1, enum)



Hi , i tryed it on A20Nx FBW (Experimental) and both didn't work.
I tryed to use a button on my joy
Any idea?
[Last edited by asessa, 2022-01-28 22:58]
A320HC MSFS
2022-01-28 22:42
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
The testings yesterday was done as i know also on the Dev Version.

What do you expect ?
May you mix up the situation.... Topic is called and talk about TCAS..... But the Event the user need was the XPDR Main Controll Element.
( The Switch left of the "1" in the NumPad..... Not the one down right for TCAS)

Please check again..... In theory these Events should handle this Switch.
And for sure... the second was just a example....
1 (>A:TRANSPONDER STATE:1, enum)

This set to "1" .... If you like a other Value then you need e.g. a 3 instead.

EDIT: And maybe in the first one we use finally "4" instad of 3 .... I not know 100% why the advanced user work with 3 here. My Readout shows me the switch shows 4 for ON
Good Luck !
2022-01-28 23:36
Avatar
asessa
From: Salerno, Italy
Posts: 88
Hi pizman, my goal is set ON the transponder as you described.

So i used both situation :

Toggle on pushbutton of my joy .. the transponder remain to STBY
Set on pushbutton : the trasponder remain to STBY

I have a doubt : are we sure MF can handle joystick/leobodnar etc versus the sim ?
Or i need to set this actio with arduino (i can test this)
A320HC MSFS
2022-01-29 15:30
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconasessa:

Hi pizman, my goal is set ON the transponder as you described.

So i used both situation :

Toggle on pushbutton of my joy .. the transponder remain to STBY
Set on pushbutton : the trasponder remain to STBY

I have a doubt : are we sure MF can handle joystick/leobodnar etc versus the sim ?
Or i need to set this actio with arduino (i can test this)



Tested and it doesnt work... maybe fbw exp have other lvar for the xpndr
A320HC MSFS
2022-01-29 16:35
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Like always... You need at first your "INPUT" work itself.
So if you have e.g. a electrical Problem.... Or a setting issue in MF ( that occure your Bodnar not is detect correctly)
Then we can not test the Input..... Cause we also not know if the Command is send finally.

To check this....
Enable the Logging Mode.... Typ Debug... To see if the Button is detect correctly and the needed Config is executed!

Alternate: Do something basic with that Button for testing....

I normaly use the MF Variables for that.

Make a Input Config.... Typ "MF Variable" Value $+1 and use the Bodnar Button as device. ..... Call the Var e.g. TEST
Then make a Output Config.... Use again MF Variable as source... Choose for TEST !
Then RUN MF and observe the Output Config.
Everytime you press the Button MF will now "Add +1" to the Var... And the Output will show this in the right Collumn.

In easy words.... Confirm the Button is working BEFORE you test the Transpnder Stuff !


**************

About XPDR....
The other user tell me here FBW got a strange logic.... Looks like we can set in Sim only STBY or ON ( Witch is internal ALT ) The "Auto" can not be set as he say.
So maybe thats your Problem.... As i understand his formula is build to set to AUTO instead.
Good Luck !
2022-01-29 16:40
Avatar
asessa
From: Salerno, Italy
Posts: 88
iconpizman82:

Like always... You need at first your "INPUT" work itself.
So if you have e.g. a electrical Problem.... Or a setting issue in MF ( that occure your Bodnar not is detect correctly)
Then we can not test the Input..... Cause we also not know if the Command is send finally.

To check this....
Enable the Logging Mode.... Typ Debug... To see if the Button is detect correctly and the needed Config is executed!

Alternate: Do something basic with that Button for testing....

I normaly use the MF Variables for that.

Make a Input Config.... Typ "MF Variable" Value $+1 and use the Bodnar Button as device. ..... Call the Var e.g. TEST
Then make a Output Config.... Use again MF Variable as source... Choose for TEST !
Then RUN MF and observe the Output Config.
Everytime you press the Button MF will now "Add +1" to the Var... And the Output will show this in the right Collumn.

In easy words.... Confirm the Button is working BEFORE you test the Transpnder Stuff !


**************

About XPDR....
The other user tell me here FBW got a strange logic.... Looks like we can set in Sim only STBY or ON ( Witch is internal ALT ) The "Auto" can not be set as he say.
So maybe thats your Problem.... As i understand his formula is build to set to AUTO instead.



Ok i will check ;)
thanks
A320HC MSFS
2022-01-29 16:47
icon