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
- error_dialog.jpg 77.55KB
Comment #1
Posted on Dec 28, 2013 by Swift CamelSame here on windows 8.1
Comment #2
Posted on Dec 28, 2013 by Happy MonkeyCurrent WinGUI pre7 does not work with plain vanilia MultiWii 2.3. I'll fix it in pre8.... (later tonight)
Comment #3
Posted on Dec 30, 2013 by Swift LionIt's a long night ..... :-)
Comment #4
Posted on Jan 2, 2014 by Happy Birdhaving the same prob with win8.1 - please help - I like this gui better than all the rest!
Comment #5
Posted on Jan 2, 2014 by Swift BirdI have the same issue as the others. ALSO cannot seem to calibrate esc's using multple proven calibration methods.
Comment #6
Posted on Jan 4, 2014 by Swift BirdDID THIS ISSUE EVER GET FIXED? IF SO, WHAT IS THE FIX?
Comment #7
Posted on Jan 4, 2014 by Happy MonkeyIt 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.
Comment #8
Posted on Feb 24, 2014 by Massive HorseThe problem exists all the way back to pre1, go to the radio tab and you will get continual errors.
Comment #9
Posted on Feb 24, 2014 by Happy MonkeyJustin, What is your exact error message ? (********** Exception Text ********** section...)
Comment #10
Posted on Mar 1, 2014 by Massive DogПодробная информация об использовании оперативной (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. Приложение также должно быть скомпилировано с включенной отладкой.
Например:
При включенной отладке JIT любое необрабатываемое исключение пересылается отладчику JIT, зарегистрированному на данном компьютере, вместо того чтобы обрабатываться данным диалоговым окном.
Comment #11
Posted on Apr 30, 2014 by Quick DogI'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.
Comment #12
Posted on Jan 25, 2015 by Happy MonkeyNow this check is ommitted in the gui, but you have to take care of the minThrottle value... It can be zero now.
Comment #13
Posted on Apr 27, 2015 by Helpful Rhinohello 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
- Untitled.png 30.78KB
Status: New
Labels:
Type-Defect
Priority-Medium