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
Crvak
Posts: 8
Hello everyone! First of all I am a new user of MF and a have to say that it is mind blowing! Very simple and usefull software.
I recently purchased 3 arduino mega boards and started project on overhead panel for PMDG 777.
So far all is going well as i follow topics on this webpage.
However, i do have an issue with state of panel in sim not beeing synchronised with arduino board after strat up. Exapmle: battrey swich on my panel is switched on. After sim i started and after i hit run on the MF, battery switch in sim is still off. I have to reset arduino in order to bring panel state in sim same as hardware panel that i build.
Is there any solution how to synchronize sim panel with one that i build once the MF is running.

Thank You in advance
2019-02-26 13:39
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

This is normal.
Mobiflight is a software that "work on execute" .
That means Mobiflight see a Press or a release of a button .... and execute the command you define for that action. When you just startup the software you not press a button.... So there is no command set.

This problem is in most Homecockpits. Only some self programmed Hc´s got a "remote" system that check the simstatus and switchstatus permanent and sync in automaticly.... This is difficult and also create a lot of traffic.

Solutions:

1. Sync Function.
Mobiflight include a Sync function. You can define a button input in your cockpit for that. If you press this butten then ALL Inputs in your config send there status ONE TIME to the Sim and set all switches to the current status in the Homecockpit ( Search for SYNC to get guided)
NOTE: There is a technical problem with ON-OFF-ON Switches. Those can not be sync by this tool. If you like to use it you must set those Switches to the OFF Position before OR you build your cockpit with ON-ON-ON switches instead. Then the sync work perfect.

2. Use Startup State ( Thats the technic 99% of users do)
Create a State in your PMDG 777 and use the "Save Panel State" Function. For example Cold and Dark or Ready for take off etc.
Then when you like to fly Load the State (Or a save File with this state) and THEN port your plane to the Airport of your choice.
Basicly you like to start every fly from now always with the same Panel Setup !

Finaly you write a checklist that include every Switch ( Momentary buttons are no Problem) and you set your cockpit to this State BEFORE you startup the Sim.

2.a, Do the same like the Startup State BUT do it at the end of a season.... If you power down your aircraft after landing take your checklist and bring your Aircraft back to the Basic State.... Then its already ready for next seasson.

3. Use a LIVE State. ( Funny but problematic if you get a misstake)
Here you will see the Aircraft like it will exist in real. If you End your seasson you SAVE the current State ( That is sync at the moment) . You stop Sim and leave your HC ( Not touch anything now).
On Next seasson you LOAD this state. If you not move a switch meanwhile then the state in Sim is the same like in your cockpit.

**************
Last Note:
This looks problematic... Whatever it isn´t. 90% of switches are "static" you will never use them like the "abnormal procedure" stuff in the Overhead.
Momenatry Buttons are also not involved.
From the most switches you will use there is normaly a logic. For example after landing the FlightDirector Switches are OFF in 99% of cases... So they are ok in next season.
Finaly there are maby only 10-20 switches they wont correct. If you check those things ( 1-2 Minutes) all is fine !
Good Luck !
2019-02-26 20:24
Avatar
kfoisy
Posts: 15
Would this be possible?

Option 1: Mobiflight detects SIM NEW FLIGHT and calls SYNC function automatically so that sim automatically matches cockpit state

Option 2: Every N seconds, auto-sync to avoid possible mismatch. SimVim works this way.

Thanks!!
Kevin
2022-12-14 01:15
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

You reopen a very old topic.... So some things happen since that time !


1.
iconpizman82:

NOTE: There is a technical problem with ON-OFF-ON Switches. Those can not be sync by this tool. If you like to use it you must set those Switches to the OFF Position before OR you build your cockpit with ON-ON-ON switches instead. Then the sync work perfect.



Thats no longer correct..... Meanwhile we get a rework of that Sync Tool logic.... With newest Version this work also fine for ON-OFF-ON !

2.
iconkfoisy:


Option 1: Mobiflight detects SIM NEW FLIGHT and calls SYNC function automatically so that sim automatically matches cockpit state
Option 2: Every N seconds, auto-sync to avoid possible mismatch.



With next Versions we plan for a "AutoSync" on Startup. Means if you RUN Mobiflight we plan for a startup process where every single Input is send in a row. (Option in Settings for this).
You still can use a "Fake Button" to fire the Sync by hand.

We also thought about this "Detect new Sim action" but we not find a good idea till now. In case load a flight takes some time we think it is no big deal to manually start a sync or Stop/Run MF by hand.

A Permanent Sync ( very xx seconds) is not planed and not our intention !
Whatever SimVim Do this maybe.... It make no sense cause a working System not need to be sync more then once.
Good Luck !
2022-12-23 15:58
Avatar
kfoisy
Posts: 15
Thanks .. just sharing ideas. I have set up the sync to my Annunciator Test button which works well.
2022-12-30 00:37
icon