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! 

icon
Avatar
willem.kootstra
Posts: 8
New to Mobiflight I plugged a CD74HC4067 multiplexer into a UNO and entered the FCUIP on press and on release settings for the C172 switch panel in FSX (Steam) into the Mobiflight interface, uploading and saving as required. When testing 'run' and flicking the switches Mobiflight kindly informs me "config not executed, Mobiflight not running". Where am I going wrong?
2023-03-04 11:06
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 5979
Supporter
Hi

You already write your answer yourself !

iconwillem.kootstra:

. When testing 'run' and flicking the switches Mobiflight kindly informs me "config not executed, Mobiflight not running". Where am I going wrong?



"Mobiflight not Running" means MF is in Stop Mode. ( You can see if the RUN Symbol is available or greyed out)

Simply press RUN!
Good Luck !
2023-03-04 21:55
Avatar
willem.kootstra
Posts: 8
Done. THANKS! It works. Now I'm going on to program the pre-set and calibration potentiometers for the gauges on the instrument panel.
2023-03-05 13:38
Avatar
willem.kootstra
Posts: 8
New to Mobiflight and lost.
Switchboard Multiplexer on Uno stopped working
and Mega 2560 running all settings in the taskbar cannot be stopped and read.
Cannot find solutions.
2023-03-10 12:10
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 5979
Supporter
iconwillem.kootstra:


Switchboard Multiplexer on Uno stopped working
and Mega 2560 running all settings in the taskbar cannot be stopped and read.
Cannot find solutions.



Sorry. Maybe in case of translation your text is wrong.
I not understand what you like to say.

Please give us more information what happen.
Explane step by step what you do and what happen.
OR
Come to DISCORD. There we can talk , you can share your screen or send pictures and Videos.
Good Luck !
2023-03-10 14:08
Avatar
willem.kootstra
Posts: 8
I'll break up the problems I have encountered into separate pieces. The first one: I could not get a UNO with a multiplexer to run a standard switchboard on FSX. I followed up on Pizman82's advice to start RUN. (Message #27505). I restarted everything and followed the advice: it worked. In the following days and weeks, it did not work anymore. See the copy of the .mcc file (see below). Is there an error in the programming? When running it, the RUN........ indicator on the taskbar moves, as if everything is correct. If so what else could be the problem?
A tip for moderators struggling with the English language: download from the Internet the free version of Grammarly, which highlights 'errors' and suggests corrections which can be made automatically by clicking on them.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MobiflightConnector>
<outputs />
<inputs>
<config guid="2efc7af4-acd1-489b-85da-e869945f4eb3">
<active>true</active>
<description>MAGNETO_RIGHT</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="RIGHT" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66024" param="1" />
<onRelease type="EventIdInputAction" eventId="66024" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="c23c662f-8ae8-493d-a1ac-a36145d89340">
<active>true</active>
<description>MAGNETO_LEFT</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="LEFT" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66025" param="1" />
<onRelease type="EventIdInputAction" eventId="66025" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="2c5f75da-c369-4cee-a232-fc97ac5a9bb5">
<active>true</active>
<description>MAGNETOS_BOTH</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="BOTH" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66026" param="1" />
<onRelease type="EventIdInputAction" eventId="66026" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="4dceb768-5e61-4022-abae-6ccc0b436022">
<active>true</active>
<description>START</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="START" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66725" param="1" />
<onRelease type="EventIdInputAction" eventId="66725" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="a56eaecc-f9ee-473d-a3bf-8bb7fb689898">
<active>true</active>
<description>MASTER_ALT</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="MASTER" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66374" param="1" />
<onRelease type="EventIdInputAction" eventId="66374" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="25c241e9-df83-443c-8e5b-1f38512c7d0a">
<active>true</active>
<description>MASTER_BATTERY</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="MASTER" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66374" param="1" />
<onRelease type="EventIdInputAction" eventId="66241" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="f5f1ac9d-ee23-4fb1-a600-bcfeeef2f42e">
<active>true</active>
<description>FUEL_PUMP</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="FUEL" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="65957" param="1" />
<onRelease type="EventIdInputAction" eventId="65956" param="1" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="d18a9288-a6e7-4e23-9013-5c9fc1880553">
<active>true</active>
<description>BEACON_LIGHT</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="BEACON" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66239" param="1" />
<onRelease type="EventIdInputAction" eventId="66239" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="954588d0-7595-4826-aa92-9bf7d9aaf40e">
<active>true</active>
<description>LANDING_LIGHT</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="LANDING" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="65751" param="1" />
<onRelease type="EventIdInputAction" eventId="66060" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="8a9b5391-4823-4f06-a9d1-ca465f15644f">
<active>true</active>
<description>TAXI_LIGHT</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="TAXI" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66240" param="1" />
<onRelease type="EventIdInputAction" eventId="66240" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="a2f15dad-a9a1-40d4-bf67-def6fab23025">
<active>true</active>
<description>NAVI_LIGHTS</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="NAV" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66379" param="1" />
<onRelease type="EventIdInputAction" eventId="66379" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="ec2876f0-675b-447e-af57-22c46e6fecf6">
<active>true</active>
<description>STROBE</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="STROBE" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="65560" param="1" />
<onRelease type="EventIdInputAction" eventId="65560" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="7b41469f-6de5-494b-86c5-afd369c2a3b1">
<active>true</active>
<description>PITOT_HEAT</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="PITOT HEAT" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="65858" param="1" />
<onRelease type="EventIdInputAction" eventId="65858" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
<config guid="09fcc8a2-f8c9-49d4-9fef-393eecb5a4a9">
<active>true</active>
<description>AVIONICS</description>
<settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=9.7.0.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Uno/ SN-58FFDFFFDFFFFFFFFF" name="AVIONICS" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<button>
<onPress type="EventIdInputAction" eventId="66701" param="1" />
<onRelease type="EventIdInputAction" eventId="66701" param="0" />
</button>
<preconditions />
<configrefs />
</settings>
</config>
</inputs>
</MobiflightConnector>
2023-03-11 10:45
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 5979
Supporter
Hi again.

At first... I recommend also to you to join Discord. https://discord.gg/99vHbK7
E.g. in your case you could simply share the MCC as a file and we could check it within Mobiflight.

About Problem....

File on first view looks good.... But its hard to check if i see only text. As i said a short test on my computer by share the filöes is more profitable.
What i see are lots of unlogical entrys... But those should not occure in a Error in most cases.
E.g. you use the Release.
Most of the Events, you work with here in this file are "Execute" events. So they not have a Parameter. No Mater if you send 0,1 or 99999 They always do the same.

E.g. Magneto Left means "Set the Virtual Magneto switch to Left Position"
So your Parameter 1 on Press and Parameter 0 on Release will do 2 times the same. Also on Release you SET the Switch again to Left whatever it is still there.


Summary:
I still not understand the Problem itself...

iconwillem.kootstra:

I could not get a UNO with a multiplexer to run a standard switchboard on FSX.



Again... More detailed. Is there a Error warning? Can you connect it and it is shown as Device in the Input List but it not work ?
Does it work on a Mega instead? Is your Multiplexer Compatible with MF? Does it work with a basic arduino sketch? Is wirework confirmed correct ?


iconwillem.kootstra:


I restarted everything and followed the advice: it worked. In the following days and weeks, it did not work anymore.


If something is working and you not change anything then it will work 1000 Years.
So if it stop working you have to do something between.
Explane us what you change.
Do you e.g. create a new Config line that maybe is wrong and occure in a error ?


***********
Last Note:
I recommend to enable the Loggig Mode. (Settings) Then you see a little Debug Textbox below the Config list.
E.g. if you Press one of your Multiplexer Buttons.... You will see there if they are detected.
So we can find out if your Problem is in hardware or Software.
We would also see there is MF correctly running, if there is a Config that occure in a normaly unvisible error or so.

And like i said at beginning.... In DISCORD we could check those thngs by shared screen and Voice. So like i would seat next to you and can check what happen myself.
Good Luck !
2023-03-11 13:23
Avatar
willem.kootstra
Posts: 8
I am registered on Discord since august 2022 and have tried to find my way through the user guide.
If I were sixty years younger I would probably understand the complexities of Discord.
It may serve other Mobiflight users, but it causes me information overload.
Trying to guess the meanings of FSUIPC and experiencing multiple errors is enough of a headache.
2023-03-12 18:05
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 5979
Supporter
I can guide you....
Simply contact me on Discord.... I can explain you all you need.
I´m in Contact with Users who are 80 Years+ without Problems B)

If your "Willem#2516 " i still send you a message....
If not... PM Me. I don`t know your Discord Name !
Good Luck !
2023-03-12 18:21
Avatar
willem.kootstra
Posts: 8
Yes, Pizman82, I am Willem#2516, that's my first name, Kootstra, is my family name. I have nothing to hide.
2023-03-12 20:03
Avatar
willem.kootstra
Posts: 8
Your help is much appreciated. I'll be online again tomorrow.
2023-03-12 20:08
Avatar
willem.kootstra
Posts: 8
I have programmed an MSFSX (Steam) switch panel with a Windows 10 notebook on an Arduino Mega 2560 via an HP 4067 16-channel multiplexer, as below with incorrect results.

Multiplexer DataPin= 0 eventId= 66028, pin 0 nothing
LEFT MAGN DataPin= 1 eventId= 66025, pin 1 nothing
BOTH MAGN DataPin= 2 eventId= 66026, pin 2 start+L
START DataPin= 3 eventId= 66027, pin 3 nothing
MASTER ALT DataPin= 4 eventId= 66242, pin 4 start
MASTER BATT DataPin= 5 eventId= 66241, pin 5 alt+batt
FUEL PUMP DataPin= 6 eventId= 66237, pin 6 nothing
BEACON DataPin= 7 eventId= 66239, pin 7 nothing
LANDING DataPin= 8 eventId= 65751, pin 8 nothing
TAXI DataPin= 9 eventId= 66240, pin 9 land+taxi
NAV DataPin= 10 eventId= 66379, pin 10 nothing
STROBE DataPin= 11 eventId= 65560, pin 11 nav+strobe
PITOT HEAT DataPin= 12 eventId= 65858, pin 12 nothing
AVIONICS DataPin= 13 eventId= 66293, pin 13 avionics+pitot
PARKING BRAKE DataPin= 14 eventId= 65752, pin 14 nothing
OFF DataPin= 15 eventId= 66535, pin 15 works

What to do next?
2023-03-13 18:18
icon