jacklopessapo / mw-wingui

Automatically exported from code.google.com/p/mw-wingui
0 stars 0 forks source link

Error after click connect button #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm currently on Windows7 x64 , WinGUI 2.3pre7 (b4)
with Multiwii 2.3

What steps will reproduce the problem?
1.open WinGUI
2.click Connect

after that error screen appear look like in attachment file

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '0' is not valid for 'Value'. 
'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
   at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
   at MultiWiiWinGUI.mainGUI.update_gui() in z:\VS-projects\mw-wingui\MultiWiiWinGUI\mainGUI.cs:line 2055
   at MultiWiiWinGUI.mainGUI.b_connect_Click(Object sender, EventArgs e) in z:\VS-projects\mw-wingui\MultiWiiWinGUI\communication.cs:line 220
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.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.1008 (RTMGDR.030319-1000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MultiWiiWinGUI
    Assembly Version: 2.3.5105.40820
    Win32 Version: 2.3.0.0
    CodeBase: file:///C:/Users/Vivo/Dropbox/WORK/Work/multi_rotor/WinGUI_2.3pre7(b4)-xmas/Release/MultiWiiWinGUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1002 built by: RTMGDR
    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/Vivo/Dropbox/WORK/Work/multi_rotor/WinGUI_2.3pre7(b4)-xmas/Release/GMap.NET.Core.DLL
----------------------------------------
GMap.NET.WindowsForms
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7
    CodeBase: file:///C:/Users/Vivo/Dropbox/WORK/Work/multi_rotor/WinGUI_2.3pre7(b4)-xmas/Release/GMap.NET.WindowsForms.DLL
----------------------------------------
ZedGraph
    Assembly Version: 5.1.2.878
    Win32 Version: 5.1.2.878
    CodeBase: file:///C:/Users/Vivo/Dropbox/WORK/Work/multi_rotor/WinGUI_2.3pre7(b4)-xmas/Release/ZedGraph.DLL
----------------------------------------
AForge.Controls
    Assembly Version: 2.2.3.0
    Win32 Version: 2.2.3.0
    CodeBase: file:///C:/Users/Vivo/Dropbox/WORK/Work/multi_rotor/WinGUI_2.3pre7(b4)-xmas/Release/AForge.Controls.DLL
----------------------------------------
AForge.Video
    Assembly Version: 2.2.3.0
    Win32 Version: 2.2.3.0
    CodeBase: file:///C:/Users/Vivo/Dropbox/WORK/Work/multi_rotor/WinGUI_2.3pre7(b4)-xmas/Release/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/Vivo/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/Vivo/Dropbox/WORK/Work/multi_rotor/WinGUI_2.3pre7(b4)-xmas/Release/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
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.EnterpriseServices
    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.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.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.

PS.sorry for my bag english

Original issue reported on code.google.com by pattawon...@gmail.com on 28 Dec 2013 at 3:42

Attachments:

GoogleCodeExporter commented 8 years ago
Same here on windows 8.1

Original comment by Double.B...@gmail.com on 28 Dec 2013 at 4:03

GoogleCodeExporter commented 8 years ago
Current WinGUI pre7 does not work with plain vanilia MultiWii 2.3. I'll fix it 
in pre8.... (later tonight)

Original comment by eosba...@gmail.com on 28 Dec 2013 at 4:34

GoogleCodeExporter commented 8 years ago
It's a long night ..... :-)

Original comment by Ralf.Wal...@googlemail.com on 30 Dec 2013 at 4:21

GoogleCodeExporter commented 8 years ago
having the same prob with win8.1 - please help - I like this gui better than 
all the rest!

Original comment by wespi...@gmail.com on 2 Jan 2014 at 4:26

GoogleCodeExporter commented 8 years ago
I have the same issue as the others.  ALSO cannot seem to calibrate esc's using 
multple proven calibration methods.

Original comment by gerryst...@comcast.net on 2 Jan 2014 at 5:19

GoogleCodeExporter commented 8 years ago
DID THIS ISSUE EVER GET FIXED?  IF SO, WHAT IS THE FIX?

Original comment by gerryst...@comcast.net on 4 Jan 2014 at 8:46

GoogleCodeExporter commented 8 years ago
It will be fixed in the new release. Till that, use an older release (pre4 or 
pre5).
There are no new functionality in pre7 for plain vanilia multiWii 2.3

Calibration does not belong to GUI. It is unwise and dangerous to calibrate 
esc-s via code... use your receiver to calibrate. 
I will not implement support for esc calibration in WinGUI.

Original comment by eosba...@gmail.com on 4 Jan 2014 at 9:27

GoogleCodeExporter commented 8 years ago
The problem exists all the way back to pre1, go to the radio tab and you will 
get continual errors.

Original comment by justinst...@gmail.com on 24 Feb 2014 at 6:00

GoogleCodeExporter commented 8 years ago
Justin,
What is your exact error message ?
(************** Exception Text ************** section...)

Original comment by eosba...@gmail.com on 24 Feb 2014 at 7:04

GoogleCodeExporter commented 8 years ago
Подробная информация об использовании 
оперативной 
(JIT) отладки вместо данного диалогового 
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.ArgumentOutOfRangeException: Значение '0' недопустимо 
для 'Value'. 'Value' должно лежать в диапазоне от 
'Minimum' до 'Maximum'.
Имя параметра: Value
   в System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
   в MultiWiiWinGUI.mainGUI.update_gui() в z:\VS-projects\mw-wingui\MultiWiiWinGUI\mainGUI.cs:строка 1926
   в MultiWiiWinGUI.mainGUI.b_connect_Click(Object sender, EventArgs e) в z:\VS-projects\mw-wingui\MultiWiiWinGUI\communication.cs:строка 240
   в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   в System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   в System.Windows.Forms.ToolStrip.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Загруженные сборки **************
mscorlib
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1008 (RTMGDR.030319-1000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MultiWiiWinGUI
    Версия сборки: 2.3.5127.41688
    Версия Win32: 2.3.0.0
    CodeBase: file:///D:/Downloads/Release/MultiWiiWinGUI.exe
----------------------------------------
System.Windows.Forms
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1002 built by: RTMGDR
    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
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
GMap.NET.Core
    Версия сборки: 1.7.0.0
    Версия Win32: 1.7
    CodeBase: file:///D:/Downloads/Release/GMap.NET.Core.DLL
----------------------------------------
GMap.NET.WindowsForms
    Версия сборки: 1.7.0.0
    Версия Win32: 1.7
    CodeBase: file:///D:/Downloads/Release/GMap.NET.WindowsForms.DLL
----------------------------------------
ZedGraph
    Версия сборки: 5.1.2.878
    Версия Win32: 5.1.2.878
    CodeBase: file:///D:/Downloads/Release/ZedGraph.DLL
----------------------------------------
AForge.Controls
    Версия сборки: 2.2.3.0
    Версия Win32: 2.2.3.0
    CodeBase: file:///D:/Downloads/Release/AForge.Controls.DLL
----------------------------------------
AForge.Video
    Версия сборки: 2.2.3.0
    Версия Win32: 2.2.3.0
    CodeBase: file:///D:/Downloads/Release/AForge.Video.DLL
----------------------------------------
System.Configuration
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1015 (RTMGDR.030319-1000)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1015 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.SQLite
    Версия сборки: 1.0.84.0
    Версия Win32: 1.0.84.0
    CodeBase: file:///C:/Users/deadmazdie/AppData/Local/GMap.NET/DllCache/SQLite_v84_NET4_x86/System.Data.SQLite.DLL
----------------------------------------
System.Data
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.237 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.233 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Transactions
    Версия сборки: 4.0.0.0
    Версия Win32: 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
----------------------------------------
System.Windows.Forms.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
AForge.Video.DirectShow
    Версия сборки: 2.2.3.0
    Версия Win32: 2.2.3.0
    CodeBase: file:///D:/Downloads/Release/AForge.Video.DirectShow.DLL
----------------------------------------
System.Speech
    Версия сборки: 4.0.0.0
    Версия Win32: 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
----------------------------------------
mscorlib.resources
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.235 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.EnterpriseServices
    Версия сборки: 4.0.0.0
    Версия Win32: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки 
файл .config данного
приложения или компьютера (machine.config) должен 
иметь
значение jitDebugging, установленное в секции 
system.windows.forms.
Приложение также должно быть 
скомпилировано с включенной
отладкой.

Например:

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

При включенной отладке JIT любое 
необрабатываемое исключение
пересылается отладчику JIT, 
зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным 
диалоговым окном.

Original comment by deadmazd...@gmail.com on 1 Mar 2014 at 6:36

GoogleCodeExporter commented 8 years ago
I've meet the same error but it was generated by the minimum throttle being 
smaller than when motors are not armed.
Reloading the software with arduino doesn't solve the problem. You have to 
clear eprom before updating the software. In the sketch you have to check 
minimum value for throttle.

Original comment by mircea.c...@gmail.com on 30 Apr 2014 at 8:03

GoogleCodeExporter commented 8 years ago
Now this check is ommitted in the gui, but you have to take care of the 
minThrottle value... It can be zero now.

Original comment by eosba...@gmail.com on 25 Jan 2015 at 8:50

GoogleCodeExporter commented 8 years ago
hello guys 
i am getting error when i am clicking connect button on multiwii gui 2.3.. 
it is showing "System.ArgumentOutOfRangeException: Value of '255' is not valid 
for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value"
please help me in this or mail me the solution for this issue :- 
kzbr1993@gmail.com

Original comment by kzbr1...@gmail.com on 27 Apr 2015 at 6:13

Attachments: