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!
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.
It'all ok but when i start in cold and dark mode ,some leds are in swithc on.
......
I' d like all in off is it possible??
What do you mean.... LED (Outputs) or Switches (Inputs) ???
- Switches got the Position in Homecockpit that you set it youreself !
If Your switch for example is in ON Position "before" you start the System and in the loaded State in the Sim its OFF..... Then its not synchronic.
You can use now the AUTO SYNC Funtion from Mobiflight.... But please note.... It not work perfect for Rotary Multiswitches and 3 State ON-OFF-ON Switches.
Best solution is to set all switches "Offline" to a Base Status you need for the loaded Panel State !
-LED..... If a LED Light whatever it should not light in the Sim then you have to check the Offset Status....
Lots of offsets NOT show the Status of the Virtual LED..... It show the Status of function..... Or maby the Status of the Switch Position in Simulator.
Simple example.... The GEAR Status LED ( 3 Red/3Green) are located on the Gear Offset.... If Gear is Down it is 1 (Or Bigger) .... If Gear is Up its 0....
BUT Whatever your "Main Battery Switch" is ON or OFF.... The Value of that Offset is still the same ( Cause the Gear is Down in ColdandDark, too)
So.... this LED will Light up.... Even if Battery is OFF and in Simulator all anaunciators are OFF....
*********
Solution:
At the moment this is a bit difficult..... Normaly we do this with Preconditions !
You simply say the LED Output Config should " Only work IF BatteryswitchOffset = 1" BUT: Then the Config itself is Offline..... But the LED is not Offline.... The LED will stay in Status that it was BEFORE the Precondition disable the Config.
Example: The Gear LED is Lighting.... You now set Master Battery OFF ..... The Precondition disable the GearLED Config.... BUT Then the LED will already light cause no other Config TELL the Led it should go to OFF.
To solve this at the moment you need for EVERY LED in your Cockpit a duplicate Config !
1. Config show Status of Function ( Offset) and only work if Battery is ON......
2. Config shows always "0" and only work if Battery is OFF.
Additional you need a 3. Config for EVERY LED if you like to realise a LIGHT TEST Function !
Here the same Problem..... In Virtual Cockpit all LED will light..... But the Offsets of LED still show there real Status....
If Function is OFF it will not light.... Whatever it light in Simualtor in case of lighttest!
There you need a Config that is always "1" And additional Preconditions to manage this.
********
Last Note:
I present Sebastian some ideas how we can implement this in a much better and comfortable way.... He already try out a function in a Beta Test but it not work as we need it.
"Maby" in a future Version we can support a better way to make this working with only ONE config.... At the moment you need to do the "hard" way.... Or you write own scripts in LUA to "outsource" this system from Mobiflight !
Thank you very much for your reply, however I'd like to solve the problem of led is not that of the switch. I'll try to use preconditions as you told me, even though I did not understand very well.