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
Adam73
Posts: 13
Hello all
I have a problem with MF-PMDG737NGX communication in P3dv4.4.
Yesterday I formatted the disk and installed a fresh system (Windows 10), add-ons and drivers. Windows sees the Ardiuno Mega board as Arduino Mega 2560 (COM3). I installed the last version of MF and Ardiuno IDE and uploaded my .mcc file. In this file, only encoders for MCP737 are programmed. After starting in the cockpit of the MobiFlight Modules and FSUIPC program it is "green" (active) and the MobiFlight has the status of "running" and PMDG can not see it. Everything It worked before formatting.
Where can the problem be?:confused:
greetings
[Last edited by Adam73, 2018-12-10 20:35]
2018-12-10 20:27
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi Adam,

welcome to Mobiflight!

If you have already installed FSUIPC V5 again try as follows: got to your P3D root folder and there into \PMDG\PMDG 737 NGX\ folder.
Open the file 737NGX_Options.ini in an editor and insert the following lines i.e. at the end of the file:

[SDK]
EnableDataBroadcast=1

Restart P3D and the communication between MF and PMDG via FSUIPC will work again.
Grüße,
Stephan (Time: UTC+2)
2018-12-10 21:53
Avatar
Adam73
Posts: 13
Hello Stefan

Thank you very much for your quick response.
I have the latest version of fsuipc 5.15, arduino 1.8.8 and mobiflight 7.5.0. I opened the file file 737NGX_Options.ini and line
[SDK]
EnableDataBroadcast = 1
there already exists, this will not be a problem.
I changed the USB cable and it did not work either.
I also came back to the previous versions of fsuipc, arduino and mobiflight - also with no effect :blush:
I noticed one thing that worries me. In mobiflight, in the "mobilght modules" tab you can see the name of my board but you can not see the added devices (encoders). So it has to be?
I did not program the encoders. I downloaded the .mcc file from here:
http://14tbap.ru/files/msfs/mcp/PMDG-737NGX.zip
[Last edited by Adam73, 2018-12-10 22:48]
2018-12-10 22:17
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
That sounds like a memory error if your devices of the module are not visible.
Try to clear your EEPROM on the MEGA module.
Load the Arduino IDE go into the menu Files - Examples - EEPROM - eeprom_clear sketch and run it. Connect the erroneous modul via USB before.
Quit the IDE and start Mobiflight, go to Extras - Settings - Mobiflight Module and save the Firmware on the module.
Then load your ?.mfmc (the file with your encoder devices) or enter your devices manually again (thereafter save the mfmc-file).
If that is done load your config-file (?.mcc) and run it. MF should work fine.

Sometimes it can happen that a MEGA "forget" a bit in his EEPROM. This is the adequate way to revive the module.

Please reportif it works.
Grüße,
Stephan (Time: UTC+2)
2018-12-11 00:50
Avatar
Adam73
Posts: 13
Unfortunately,:(
I did as you wrote ... step by step. Nothing has changed that.
I came to the conclusion that Arduino Mega is probably damaged.:(
https://www.dropbox.com/s/jqam3pfg5s59isy/1.jpg?dl=0

Edit:
I did a small test.
I created a new project (mytest.mcc). I added a new device - one encoder, I entered all parameters eventid etc ... I closed the mobiblight and opened again. it turned out that my device disappeared. It looks like it does not keep it in mind
[Last edited by Adam73, 2018-12-11 18:02]
2018-12-11 17:10
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Its difficult to see the problem without seat in front of your computer/Homecockpit.

Basicly i think its a problem with the PMDG Comunication. ( most possible reason)

To check this the easyest way is to check the system with a standard aircraft.
Use for example instead of EventID for Heading increase decrease from PMDG for testing the Event ID for Heading FSX Standard Aircrafts.
Then load for example the B737 or Cessna Stock Aircraft of P3D.

If here all is OK then the PMDG System is boke..... If it work also not for standard Aircrafts, then the Mobiflight side is broke.

Basicly you need to find out the basic spot of the problem.

1. Is the Command not reach Mobiflight ? ( So check for example the Debug String of Mobiflight or use the Keysend technic to find out if Input is basicly "see" by Mobiflight
2. Is the Command executed to the Simulator ? Check with a Standard Aircraft like explaned above
3. Is the Command work fine with a Addon ?

So find out.... Is the Problem still on the Mega.... In Mobiflight.... Or Finaly in the P3D--->AddOn System.
Good Luck !
2018-12-12 00:36
Avatar
Adam73
Posts: 13
welcome back,

Today I bought a new Arduino Mega 2560. I connected, added all devices (encoders) and WORK!!!! Yes! Yes! Yes! :w00t: :rolleyes: :thumbup:
It seems that the plate has damaged for some unknown reason.
StephanHo and pizman82 Thank you very much for your help.:rolleyes: :rolleyes:

Best wishes:)
2018-12-13 17:16
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Fine, you are welcome!

But you see above, which steps you can do if you run into problems with the MEGA to check, where the error is.
Grüße,
Stephan (Time: UTC+2)
2018-12-14 12:21
icon