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! 

From: EGHH
Posts: 2
Hi, I'm new here and having programmed and built computers for 40 years I'm embarrassed to be asking such a newbie question.

I'm running Windows 10 pro 64 bit, Arduino MEGA 2560 R3 ATMEGA16U2. I've installed IDE version 1.8.8 and can program and communicate with the Arduino on COM 4.

I've downloaded Mobi 7.5.0 to a folder on my data drive, expanded it and run it from the MFConnector.exe program, using Run as administrator.
I've give Mobi the location on my Arduino and it uploads to it successfully.

Following the simplest tutorial I can get my single LED to go on and off when testing with no problems.
I run FSX Steam edition, the status bar on Mobi gives a green tick and the green run symbol appears.

BUT a second or two after I click Run, I get the message "The connection to FSUIPC got lost".
I have set the logging to debug and captured the message:
10/01/2019 14:53:43(440): Error on config execution. FSUIPC Error #12: FSUIPC_ERR_SENDMSG. Error sending message to FSUIPC.
Please can you help?

Is there any way to send the debug information to a file?

Thanks for your time. I'm sure I'm going to love the program, once I can make it talk to FSX.
2019-01-10 16:07
From: ETSI, Germany
Posts: 2392
Is this happen every time ??

I got "sometimes" also the issue "Lost of FSUIPC Connection" . I always thought this is a problem in FSUIPC maby.
If possible... Please report if a System Restart will simply solve the problem.

I know this is no real support and solution.... But mostly that fix the problems.

Restart FSX/P3D -- AND/OR-- Restart Mobifligh --AND/OR-- Restart Mega (by disconnecting from USB)

If problem still exist i need your config file to check it
Good Luck !
2019-01-10 16:20
From: EDDG, Germany
Posts: 1236
The connection often is lost if Mobiflight is started to early with the "run"-option.
If you wait until the Simulator is ready it should work properly.
2019-01-10 23:13
From: EGHH
Posts: 2
First, Thank you both very much for taking the time to help.

Unfortunately things seem worse not better.
I rebooted the computer and started FSX through Steam, FSX "help" "about" shows: 10.0.62615.0 (FSX.20150710-1055)
I started Mobi, with the log set to "info" and it gave this:

11/01/2019 09:54:14(226): Preventing entering EnergySaving Mode: KeepAlive!
11/01/201909:54:14(224): ExecutionManager.TestModeStop:Stopped test timer
11/01/2019 09:54:12(152): MobiflightModule.connect: Connected to Default at COM4 of Type MobiFlight Mega (DTR=>True)
11/01/2019 09:54:12(55): Checking for updates
11/01/2019 09:54:11(863): MobiflightModule.disconnect: Disconnected MobiFlight Mega at COM4
11/01/2019 09:54:09(714): MobiflightModule.connect: Connected to Default at COM4 of Type Arduino Mega 2560 (DTR=>True)
11/01/2019 09:54:09(496): MainForm() : Logger initialized Info

"Parking Brake" Config file was already loaded

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config guid="dde6803a-b4d4-496c-b2a6-c7fcfb82da03">
<description>Parking Brake</description>
<settings msdata:InstanceType="MobiFlight.OutputConfigItem, MFConnector, Version=, Culture=neutral, PublicKeyToken=null" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<source type="FSUIPC" offset="0x0BC8" offsetType="Integer" size="2" mask="0xFFFF" bcdMode="False" />
<comparison active="False" value="" operand="" ifValue="" elseValue="" />
<display type="Pin" serial="MobiFlight Mega/ SN-d9e-0a3" trigger="normal" pin="Output" pinBrightness="255" />
<preconditions />
<transformation active="False" expression="$" substrStart="0" substrEnd="7" />
<configrefs />
<inputs />

BUT the FSCUIP Status was showing a yellow warning triangle and there was no green run symbol so I couldn't even try and interface it with FSX.

The blue test button works and my LED flashes.

I would send you screen shots but when I click the picture icon on this editor it just inserts

Thanks again for your time, I can tell you the real 747 is a lot simpler!
2019-01-11 14:02
Posts: 96
Check FSUIPC version. Is it latest ?
2019-01-11 14:39
Posts: 96
Also is FSUIPC registered? I never have problem with registered version of FSUIPC .
2019-01-11 14:43
From: ETSI, Germany
Posts: 2392
As thatchi said....

1. Try to run FSX and Mobiflight is same status( Admin or Non Admin)
2. Get sure you have the newest FSUIPC Version ( Registred or not should make no difference)

3. Try different workflows.
For example a Module (Arduino) must be connected and registred by windows BEFORE you start Mobiflight Connector.exe. If not or if you dis/reconnect it while running it want work and Mobiflight must be restarted.
I personaly start Simulator always BEFORE Mobiflight.... And i wait until FSUIPC is full running ( Takes 40 seconds on my system untul i get conformition by FSUIPC Logging.)

There can be also problems if you close your flightsim while Mobiflight is activ.

Please try out the hints.... Report experience !
Good Luck !
2019-01-11 17:34