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
tomulanek
Posts: 8
Hello,

I have problem with 7segment display does not work following: when battery is off so off 7segment display.The 7-segment display should work by reading the active frequency from the aircraft. I use MSFS and mobiflyght with simconnect. How make it work. I tried all possible and nothing worked. Please help with mi problem.

Thank you wery much for answer
2023-03-27 14:04
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Please use Search with "Battery" You find 30+ Topics here or on Discord where this is explained.
Also in our Youtube Videos this is shown multiple times.

Basic Idea:
You read a Raw Data to define when Cocpit is un-power. Mostly we use the Battery Switch Position or the BUS Voltage.
Call this config e.g. Power Info. .... If its 1 Power is ON.... If its 0 Power is OFF.

Finally you can use this Information for a Precondition or more easy for a "Placeholder/Reference" within other configs.

In your case you simply use it in the 7Seg Frequency Config..... Lets say you use Config "Power Info" with symbol "a"
In Transform you say.... if(a=0,' ',$)
Means.... If Battery is OFF then show Spaces (Blank) Else (so if Battery is not 0) show $ (Value of Frequency).
Good Luck !
2023-03-29 11:29
Avatar
tomulanek
Posts: 8
thank you for the advice
where do I have to put the a symbol?
2023-03-30 11:02
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
icontomulanek:

where do I have to put the a symbol?



iconpizman82:


In your case you simply use it in the 7Seg Frequency Config..... Lets say you use Config "Power Info" with symbol "a"
In Transform you say.... if(a=0,' ',$)



In "Add Config Reference" you choose for the used Indication Config and define the symbol "a" e.g.
In "Transform" you enter the formula .

EDIT: Just a screenshot from Websearch....
Not current version.... But there you see the Transform line (Currently 1 in picture) and you see the Reference Lines where you choose a config and a symbol.

Good Luck !
2023-03-30 15:45
Avatar
kfoisy
Posts: 15
In my setup, I have a set of relays that are Mobiflight controlled. When bus voltage is present, I close the relay and power the bus. This ensures that it behaves just like the real panel. All of my lighting and displays are managed this way and it works great.
2023-04-15 05:42
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Thats a way....
Some Builders do this.
Its specially needed if you use Real Aviation parts with 12 or 24 Volts.... So LED are not controlled directly via MF.

Whatever....
Meanwhile we can use in MF the Formulas and logics to handle LED and Displays in a very good and realistic way.

Always note....

A Switch Position ( Whatever a Real switch or the position of a Virtual Switch) is not a 100% Indication for a LED.

E.g. the Master Battery Switch.....
If we say LED should be Light if Switch is ON.....
There can be a Low Power situation where switch is ON but LED must be OFF in case of low Charge of Battery.
Good Luck !
2023-05-10 21:11
Avatar
whsainishqz
Posts: 1
HI
I tried to use this method to modify the battery shutdown and baro, which works normally, but its display mode is not what I wanted. For example, when QNH is 998, it displays 998 instead of 0998. However, if I add a display of 0 on the left, it displays 0STD When I modify it to 'STD space' in the condition, it will STD, but when the battery is turned off, it will display 0000. If the left display 0 is not turned off, this function cannot succeed


thank you
2023-09-07 15:51
icon