WinGUI connection problem.

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
Frank_W
Posts: 7
Joined: Mon Mar 02, 2015 8:31 am

WinGUI connection problem.

Post by Frank_W »

When i try to connect WinGUI to the board i get this error, see attached image (in Swedish). It says that Value is too high 65535 and need to be between Max and Min.

uploadfromtaptalk1426845031137.jpg
.

Any ideas where to start looking? Could it be caused by an error in the board code or is it a problem with the WinGUI installation?

Thanks

User avatar
Leo
Posts: 372
Joined: Wed Sep 17, 2014 7:01 am
Location: Germany
Contact:

Re: WinGUI connection problem.

Post by Leo »

What MultiWii version are you trying to connect to?

Frank_W
Posts: 7
Joined: Mon Mar 02, 2015 8:31 am

Post by Frank_W »

I'm setting it up for an airplane using the file from this site: http://fotoflygarn.blogspot.se/2014/04/ ... plane.html

Cannot find the version listed but must be 2.3 as he is working on 2.4

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI connection problem.

Post by PatrikE »

Hi Frank.
WinGui crashes like your's if
#define USE_MSP_WP isn't enabled in Config.h
But the older "Stable" version don't have support for Waypoints.


If you use my Version it's set as V2.3 in order to work with Wingui.
MWii Gui from V2.3 & V2.4 will work.

Frank_W
Posts: 7
Joined: Mon Mar 02, 2015 8:31 am

Post by Frank_W »

Thanks, it works after enabling the USE_MSP_WP.

User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re: WinGUI connection problem.

Post by mehmetyld87 »

I have same problem . When I try to open WinGUI , I get that error message .

https://www.dropbox.com/s/ja9f8esyxytvh7y/WinGUI2.3-Problem.PNG?dl=0

OS: Windows7 64 bit
Multwii Firmware Version: 2.4
WinGUI Version: 2.3pre10b71

I installed the necessary programs again.

- Visual C++ 2008 redistributable library - OK
- .Net framework 4 Client profile- OK
- .net framework 2.0-OK

Thanks for your time and help

Regards
Mehmet

Error Details are given below ;

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MultiWiiWinGUI.mainGUI.isArmed() in z:\VS-projects\mw-wingui\MultiWiiWinGUI\mainGUI.cs:line 2645
at MultiWiiWinGUI.mainGUI.timer_announce_Tick(Object sender, EventArgs e) in z:\VS-projects\mw-wingui\MultiWiiWinGUI\mainGUI.cs:line 5287
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MultiWiiWinGUI
Assembly Version: 2.3.5160.23771
Win32 Version: 2.3.0.0
CodeBase: file:///C:/Users/TurkUAV/Downloads/WinGUI_2.3pre10b71/WinGUI_2.3pre10(b7)/MultiWiiWinGUI.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
GMap.NET.Core
Assembly Version: 1.7.0.0
Win32 Version: 1.7
CodeBase: file:///C:/Users/TurkUAV/Downloads/WinGUI_2.3pre10b71/WinGUI_2.3pre10(b7)/GMap.NET.Core.DLL
----------------------------------------
GMap.NET.WindowsForms
Assembly Version: 1.7.0.0
Win32 Version: 1.7
CodeBase: file:///C:/Users/TurkUAV/Downloads/WinGUI_2.3pre10b71/WinGUI_2.3pre10(b7)/GMap.NET.WindowsForms.DLL
----------------------------------------
ZedGraph
Assembly Version: 5.1.2.878
Win32 Version: 5.1.2.878
CodeBase: file:///C:/Users/TurkUAV/Downloads/WinGUI_2.3pre10b71/WinGUI_2.3pre10(b7)/ZedGraph.DLL
----------------------------------------
AForge.Controls
Assembly Version: 2.2.3.0
Win32 Version: 2.2.3.0
CodeBase: file:///C:/Users/TurkUAV/Downloads/WinGUI_2.3pre10b71/WinGUI_2.3pre10(b7)/AForge.Controls.DLL
----------------------------------------
AForge.Video
Assembly Version: 2.2.3.0
Win32 Version: 2.2.3.0
CodeBase: file:///C:/Users/TurkUAV/Downloads/WinGUI_2.3pre10b71/WinGUI_2.3pre10(b7)/AForge.Video.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.84.0
Win32 Version: 1.0.84.0
CodeBase: file:///C:/Users/TurkUAV/AppData/Local/GMap.NET/DllCache/SQLite_v84_NET4_x86/System.Data.SQLite.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
AForge.Video.DirectShow
Assembly Version: 2.2.3.0
Win32 Version: 2.2.3.0
CodeBase: file:///C:/Users/TurkUAV/Downloads/WinGUI_2.3pre10b71/WinGUI_2.3pre10(b7)/AForge.Video.DirectShow.DLL
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re: WinGUI connection problem.

Post by mehmetyld87 »

Any idea?

Thanks

Frank_W
Posts: 7
Joined: Mon Mar 02, 2015 8:31 am

Post by Frank_W »

I get an error message if i try to connect whilst i am on the Mission tab which is the default tab when i start WinGUI. If i change to the Flight Deck tab first and then connects it works for me.

Frank_W
Posts: 7
Joined: Mon Mar 02, 2015 8:31 am

Post by Frank_W »

Have you tried using the standard MultiWii Configurator?

User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re:

Post by mehmetyld87 »

Frank_W wrote:Have you tried using the standard MultiWii Configurator?


Multiwii Conf. works problem-free.

Regards
Mehmet

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: WinGUI connection problem.

Post by PatrikE »

Do you use latest Wingui?
http://eosbandi.com/downloads/

User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re: WinGUI connection problem.

Post by mehmetyld87 »

PatrikE wrote:Do you use latest Wingui?
http://eosbandi.com/downloads/


Yes, I am using latest version . I really don't understand why ı can't use the problem . :? . Also I tried to open the program with different PC

User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re: WinGUI connection problem.

Post by mehmetyld87 »


User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re: WinGUI connection problem.

Post by mehmetyld87 »

I tried to format the my computer but I get the same error again

Akinaka_Tone
Posts: 1
Joined: Sat May 02, 2015 1:45 pm

Re: WinGUI connection problem.

Post by Akinaka_Tone »

This is my first post. Just started MW Quad November 2014.

I have encountered the same problem when connecting MW 2.4 to WinGUI_2.3pre10(b7).

Then I opened WinGUI_2.3pre8(b5), get connected with MW 2.4, disregarding some message, click several places, just for a try.
After that, re-opened WinGUI_2.3pre10(b7) and connected with MW 2.4 without error.

But every time EEPROM is cleared, then the above work with older Gui shall be done.
Also, if you push "Load Defaults", the same work is necessary.
This is strange, but looks like working.

Just for your information, hoping the above will work.

User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re: WinGUI connection problem.

Post by mehmetyld87 »

I tried to connect many times but ı did not find a solution . Thanks for help

User avatar
mehmetyld87
Posts: 25
Joined: Wed Feb 18, 2015 2:50 pm
Location: Ankara

Re: WinGUI connection problem.

Post by mehmetyld87 »

What is the meaning of that ?
"
System.NullReferenceException: Object reference not set to an instance of an object.

at MultiWiiWinGUI.mainGUI.isArmed() in z:\VS-projects\mw-wingui\MultiWiiWinGUI\mainGUI.cs:line 2645
at MultiWiiWinGUI.mainGUI.timer_announce_Tick(Object sender, EventArgs e) in z:\VS-projects\mw-wingui\MultiWiiWinGUI\mainGUI.cs:line 5287
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
"

Post Reply