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
onurmx
Posts: 21



can a single 2560 card handle the 16 inputs and outputs here?
2020-10-23 23:24
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
In case i not like those fu**ing Airbus :love: i not know the exactly functions of the marked Systems.

Your awnser is easy to find out by yourself.
Simply COUNT the needed things.....
Then CHECK the official Limits.
And Finaly COUNT the Pins you need.

LED is 40 per Board..... Button is 68 ..... Encoder = 10 .... 7 Seg is 4x8
LED got 1 Pin .... Button also 1 Pin .......Encoder 2 Pins ..... 7 Seg 3 Pins ( Per Chain)

NOTE:
If this are Dual Encoders you must count as 2 Encoders!
If the Encoder got a Push Button or a Pull/Push mechanic you must also calculate 1 or 2 Buttons additional.
If you not like to make Chains for the Display you must count 3 Pins for each Device/Chain you like to use.
And NOT miss to calculate the LED´s. Most of Buttons also need a LED!

On first view.... This should work with 1 Mega !
Good Luck !
2020-10-24 09:32
Avatar
onurmx
Posts: 21
Thanks for your kind reply. I guess I'm sorry I asked missing. I wanted to ask if 5V is enough for all of them.
2020-10-24 11:07
Avatar
thatchi
Posts: 181
Should be. There x8 led , then u can have x4 7segment displays . Connect 5v parallel to x4 displays or short the x4 diodes .
Or u can use x2 LCD for display .
2020-10-24 18:06
Avatar
onurmx
Posts: 21
I guess my problem is this isn't the volt thing. Actually my problem is "an unhandled exception has occurred in your application" error. I figured this out from the tests I've been doing for days. I've been getting this error ever since I installed MF. I'm running it like that, saying continue, okay. But finally I realized that the program will not work properly without fixing this error.

The latest version of MF is installed. The latest version of Ardiuno is also installed. I cleared everything and installed from scratch but the error is still the same. I even thought about formatting. Then it came to my mind. I installed everything from scratch on my friend's computer and got the same error again.

I've read dozens of topics about this error in the search section of the forum. None of them helped me.

pizman gave so many answers to this "" an unhandled exception has occurred in your application "topic that I was afraid to even ask.

I installed the buttons, encoders, leds, segments, cables and everything with my own hands. But this error caused a crash somewhere. Here I can't get over it

I write the error that comes below, but as I said, the same happens when I make a zero download to my friend's computer from the site. Operating systems are windows 10 and everything is up to date. Where does this error appear? Anytime, anywhere. It comes out when you press the setting at first and then press the arrow.

https://youtu.be/2e3nYD5BVPQ

Calling JIT debugging instead of this dialog
See the end of this post for detailed information on.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
location: System.Enum.TryParseEnum (Type enumType, String value, Boolean ignoreCase, EnumResult & parseResult)
location: System.Enum.Parse (Type enumType, String value, Boolean ignoreCase)
Location: MobiFlight.SettingsDialog.saveSettings ()
location: MobiFlight.SettingsDialog.okButton_Click (Object sender, EventArgs e)
location: System.Windows.Forms.Control.OnClick (EventArgs e)
location: System.Windows.Forms.Button.OnClick (EventArgs e)
location: System.Windows.Forms.Button.OnMouseUp (MouseEventArgs mevent)
location: System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons button, Int32 clicks)
location: System.Windows.Forms.Control.WndProc (Message & m)
location: System.Windows.Forms.ButtonBase.WndProc (Message & m)
location: System.Windows.Forms.Button.WndProc (Message & m)
location: System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
location: System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
location: System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Installed Assemblies **************
mscorlib
Integrated Code Version: 4.0.0.0
Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MFConnector
Integrated Code Version: 7.8.3.0
Win32 Version: 7.8.3
CodeBase: file: /// C: / Users / onur / Desktop / New% 20klas% C3% B6r% 20 (26) /MFConnector.exe
----------------------------------------
System.Windows.Forms
Integrated Code Version: 4.0.0.0
Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Integrated Code Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Integrated Code Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Integrated Code Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Integrated Code Version: 4.0.0.0



Hope someone can help.

Yours truly.
[Last edited by onurmx, 2020-10-25 06:15]
2020-10-24 22:13
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Intersting Bug. We got something ike this years ago.... But that was still fixed.


Just a little idea....

Please open the settings tab.... Go to the "Mobiflight Modules" Tab and check if the "Path to Arduino IDE" is correctly set .
Whatever this should not happen.... Maybe if this is empty and you close the settings tab that occure in that error.

Please report eyperience !
Good Luck !
2020-10-26 08:58
Avatar
onurmx
Posts: 21
Sorry, this is not a solution. Dear pizman. I tried this and many other things but still didn't. I've tried everything here https://www.mobiflight.com/forum/topic/5621.html?page=2

1- settings> mobiflight modules> arduino ide> did not work
2- settings> mobiflight modules> card was introduced> did not happen
3- settings> mobiflight modules> only a pin and a short name were given> didn't happen
4- settings> mobiflight modules> another card was tried> did not happen
5- Eeprom was made to the card> did not happen

But all this is not necessary anyway. If I go to the internet cafe right now. If I install the latest MF. If I open Settings and press ok it will give the same problem. If I adjust all the settings and press it, it will still give. Because I tried it on many computers. My opinion is this. https://www.mobiflight.com/forum/topic/5621.html?page=2 Same as here. related to the bug found by piotr66.

If you want, you can try it on another computer (windows 10, with the latest update).

I think the same as piotr66 on this issue. There is a bug in the program. Actually it didn't exist, but I think it came up with windows update or net update.

Thank you for sparing your precious time.
2020-10-26 09:37
Avatar
onurmx
Posts: 21
I took it here too

https://youtu.be/SoAFDJorWRE
2020-10-26 13:55
Avatar
pilota57
From: Bolzano, Italy
Posts: 60
Supporter
Hi, i see on your video you are using "Users" directory for installation.
In my experience i solved some compilation errors after installing both Arduino ide and Mobiflight at disk root like:
C:\Arduino
C:\Mobiflight
and also
C:\FSUIPC7
Or the same with D:\ instead of C:\
Good luck
Fuarce Friûl
2020-10-26 14:12
Avatar
onurmx
Posts: 21
pilota57, thank you so much for your time, but unfortunately I tried it before. Not working.

At least if someone using up-to-date windows 10 confirms that it runs smoothly, we'll continue on our way. But as I said, the same happens on other Windows 10 computers.
2020-10-26 15:05
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

I "pin up" this topic and rename it to "bug observation".
We should maybe talk in DISCORD withon the next days.
Please be so kind and crat a account there. So we can talk to each other.
Good Luck !
2020-10-26 23:41
Avatar
McDOZ
Posts: 1
Hi MF.
Im stuck with simmilar problems.
Unexpected error ?? Now I can not start MF at all.
The green progres bar stops after 40 mm and system popup say Unexpected error.
Win7 64bit, Brand new Arduino Mega 2560 rev3.
I have reinstalled MF severel times and restarted windows.
D:\Arduino
D:\MobiFlight

Wot r the 3 .exe files for?
MobiFlightConnector-7.10.0.exe - 1497Kb - Downloadfile for install
MobiFlightSetup-7.10.0.exe - 1420Kb ?
MFConnector.exe - 2217Kb

I hope u can help me.
Best / Gert Persson, Malmö Sweden
2020-12-11 00:49
Avatar
VictorTango
Posts: 1
I had a similar problem where I could not start Mobiflight. I found that I had started a row when defining INPUTS and never finished it. The configuration file MF creates is an XML file (mine was located in my Documents dir). I noticed that the last “CONFIG” definition appeared incomplete. It had the beginning and ending tags but lacked most of the data between those lines. I used Notepad++ to edit the file, removed the malformed CONFIG lines <Config> to </Config>. After saving the file I was able to open MF again. I believe this is repeatable. Hope this helps.:rolleyes:

By the way, Mobiflight Rocks!!! Awesome software!
2021-01-20 12:25
icon