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
soundsofbuddy@yahoo.co.uk
Posts: 4
I have installed Mobiflight, updated the firmware for my card, configured a switch to set the parking brake all as per the tutorial. There is a green sign on FSUIPC and I have clicked 'Run' and ticked 'Active'.
Despite all this, there is no reaction in flight sim. I have FSUIPC installed.
ALso, when I press my push button, the light blinks on the arduino board, suggesting that it is registering. it's as if it's not talking to Flight sim!#
Can anyone make any suggestions? My configuration file text is below.
Many thanks,

Mark

iconCode:
<?xml version="1.0"?>
<configuration>
<configSections>
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
        <section name="MobiFlight.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        <section name="ArcazeUSB.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
    </sectionGroup>
</configSections>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup><userSettings>
        <MobiFlight.Properties.Settings>
            <setting name="RecentFilesMaxCount" serializeAs="String">
                <value>5</value>
            </setting>
            <setting name="PollInterval" serializeAs="String">
                <value>200</value>
            </setting>
            <setting name="AutoRun" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="PresetFile" serializeAs="String">
                <value>presets.aip</value>
            </setting>
            <setting name="TestTimerInterval" serializeAs="String">
                <value>50</value>
            </setting>
            <setting name="LedIntensity" serializeAs="String">
                <value>255</value>
            </setting>
            <setting name="ModuleSettings" serializeAs="String">
                <value />
            </setting>
            <setting name="LogEnabled" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="LogLevel" serializeAs="String">
                <value>info</value>
            </setting>
            <setting name="ArduinoIdePath" serializeAs="String">
                <value />
            </setting>
            <setting name="InputsPresetFile" serializeAs="String">
                <value>presets_inputs.aip</value>
            </setting>
            <setting name="Started" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="UpgradeRequired" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="CacheId" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="EventIdPresetFile" serializeAs="String">
                <value>presets_eventids.cip</value>
            </setting>
            <setting name="RecentFiles" serializeAs="Xml">
                <value>
                    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
                </value>
            </setting>
            <setting name="JeehellPresetFile" serializeAs="String">
                <value>presets_jeehell.cip</value>
            </setting>
        </MobiFlight.Properties.Settings>
        <ArcazeUSB.Properties.Settings>
            <setting name="RecentFiles" serializeAs="Xml">
                <value>
                    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
                </value>
            </setting>
            <setting name="RecentFilesMaxCount" serializeAs="String">
                <value>5</value>
            </setting>
            <setting name="PollInterval" serializeAs="String">
                <value>200</value>
            </setting>
            <setting name="AutoRun" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="PresetFile" serializeAs="String">
                <value>presets.aip</value>
            </setting>
            <setting name="TestTimerInterval" serializeAs="String">
                <value>50</value>
            </setting>
            <setting name="LedIntensity" serializeAs="String">
                <value>255</value>
            </setting>
            <setting name="ModuleSettings" serializeAs="String">
                <value />
            </setting>
            <setting name="LogEnabled" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="LogLevel" serializeAs="String">
                <value>info</value>
            </setting>
            <setting name="ArduinoIdePath" serializeAs="String">
                <value />
            </setting>
            <setting name="InputsPresetFile" serializeAs="String">
                <value>presets_inputs.aip</value>
            </setting>
            <setting name="Started" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="UpgradeRequired" serializeAs="String">
                <value>True</value>
            </setting>
        </ArcazeUSB.Properties.Settings>
    </userSettings>
</configuration>
2016-09-04 22:48
Avatar
soundsofbuddy@yahoo.co.uk
Posts: 4
****UPDATE*****

I am getting some reaction. First of all, I had the button plugged in the wrong port - I am an idiot!

However, now when I press my push button, there is no reaction in Flight Sim but I am getting the USB connected noise (the sound that plays when you plug in a usb device).

Any ideas?
Many thanks,

Mark
2016-09-04 23:02
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
the config you posted is not the one which stores your button assignments. Please look for one with the "mcc" extension.

Make sure that you have wired your button correctly and that you use the correct pin number in the general module config for your arduino.

You can enable "Debug Output" in the settings menu. Set it to "info" and you should see the events triggered by your button. It will also tell you if there is no assignment for any button pressed. That might help you to narrow down the cause.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-09-06 06:54
Avatar
soundsofbuddy@yahoo.co.uk
Posts: 4
Thank you for your reply.

I have followed your steps. I have ensured the button is wired correctly - one side connected to GND and the other to PIN22.
I have added a button device set to PIN22 called "Input 22"

I have tested the button with a multimeter, and there is a connection when I press it.

When I press the button when connected to Mobiflight, nothing comes up in the info - there is no reaction at all.
On my ArduinoMEGA 2560, a light does come on when I press my button - but no reaction in Mobiflight.

This is very very frustrating! I have followed all the instructions!

My MCC is as follows:

iconCode:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MobiflightConnector>
  <outputs>
    <config guid="b66e5f68-5833-4bb8-8ae0-54dd4a21843e">
      <active>true</active>
      <description />
      <settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=7.0.5.0, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <source type="FSUIPC" offset="0x0000" offsetType="Integer" size="1" mask="0x00FF" multiplier="1" bcdMode="False" />
        <comparison active="False" value="" operand="" ifValue="" elseValue="" />
        <display type="" serial="" pin="" pinBrightness="255" />
        <preconditions />
      </settings>
    </config>
  </outputs>
  <inputs>
    <config guid="6bf90a23-15a4-4777-b2b8-966ee0cd4e20">
      <active>true</active>
      <description>Test Button</description>
      <settings msdata:InstanceType="MobiFlight.InputConfigItem, MFConnector, Version=7.0.5.0, Culture=neutral, PublicKeyToken=null" serial="MobiFlight Mega/ SN-4d7-35c" name="Input 22" type="Button" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
        <button>
          <onPress type="FsuipcOffsetInputAction">
            <source type="FSUIPC" offset="0x0BC8" offsetType="Integer" size="2" mask="0xFFFF" multiplier="1" bcdMode="False" inputValue="1" />
          </onPress>
          <onRelease />
        </button>
        <preconditions />
      </settings>
    </config>
  </inputs>
</MobiflightConnector>
2016-09-06 22:44
Avatar
soundsofbuddy@yahoo.co.uk
Posts: 4
Ooops - need to start Flight Sim and get a connection to FSUIPC!!

You can ignore my last message and thank you again for your help, and for providing fantastic software.

And I am supposed to be a SQL Server developer. Maybe I should change career?!!!
2016-09-06 22:54
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
:lol: :w00t: :rolleyes: :)
I am happy that it could be solved so easily :thumbup:
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-09-09 06:42
icon