bdeditch Posted January 5, 2012 Share Posted January 5, 2012 I email Dave about this as well. I was installing Holidaycoro programmer on the computer that runs my show. This popped up (see Picture) and this is what it says in the detailsSee the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.ArgumentOutOfRangeException: Requested range extends past the end of the array. at System.Runtime.InteropServices.Marshal.CopyToNative(Object source, Int32 startIndex, IntPtr destination, Int32 length) at functions.FTDI.read(UInt32 handle, Byte[] data, Int32 length) at WindowsFormsApplication1.Form1.buttonRead_Click(Object sender, EventArgs e) at WindowsFormsApplication1.Form1.buttonWrite_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.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.239 (RTMGDR.030319-2300) CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll----------------------------------------HolidayCoro Programmer Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Documents%20and%20Settings/Barry%20Deditch/Desktop/HolidayCoroProgrammer.exe----------------------------------------System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.235 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.236 built by: RTMGDR CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll----------------------------------------************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box. Attached files Link to comment Share on other sites More sharing options...
flogger7 Posted January 6, 2012 Share Posted January 6, 2012 Does it do that right when you start the application? Or not until after you click a button?I am using a LOR USB485 dongle to program my controllers - and if I use the app and just select a start channel and write it out to a boxed DMX controller, works fine.If I try to click on just about anything else, I get a similar crash and have to restart the app. Thats on a current Windows7 system.-Aaron Link to comment Share on other sites More sharing options...
bdeditch Posted January 6, 2012 Author Share Posted January 6, 2012 After a click a button, See I'm a going straight from the USB Programmer from Dave, maybe I should just try it from the USB485 instead and see what happens. The thing is it was on 3 different computers that it have done this, 2 have XP and 1 has Windows 7 Link to comment Share on other sites More sharing options...
geronc Posted January 6, 2012 Share Posted January 6, 2012 Which drivers did you load for the Holiday Coro programmer? Link to comment Share on other sites More sharing options...
bdeditch Posted January 6, 2012 Author Share Posted January 6, 2012 geronc wrote: Which drivers did you load for the Holiday Coro programmer?From Here as per Dave's instructions ftdichip.com Link to comment Share on other sites More sharing options...
dmoore Posted January 8, 2012 Share Posted January 8, 2012 Barry -Can you perform/check the following:* Make sure you have a directory with the following path:c:userspublicAre you finding a "dataout.txt" file in this folder?* Can go to device manager, with the programmer plugged in, go to the Ports (COM & LPT) section and then right click on the "USB Serial Port (COMxx)". Then click on the driver tab. What is listed for the driver date and version?- Do you have any other USB Serial Port's listed (more than one)?Thanks,DavidHolidayCoro Link to comment Share on other sites More sharing options...
bdeditch Posted January 8, 2012 Author Share Posted January 8, 2012 No there is no such folder in C: I even did a search and nothing showed up. For the com ports there is 4 & 7; 4 is my LOR and 7 is the Enttec Pro Link to comment Share on other sites More sharing options...
dmoore Posted January 8, 2012 Share Posted January 8, 2012 bdeditch wrote:No there is no such folder in C: I even did a search and nothing showed up. For the com ports there is 4 & 7; 4 is my LOR and 7 is the Enttec ProCan you go ahead and create the c:userspublic directory.Unplug ALL other adapters that maybe present in the system. The programmer makes the assumption it is the only device present. You should only see the single COM port used by the programmer.On a side note - have you tried it (alone) with just the LOR adapter (write only). Link to comment Share on other sites More sharing options...
bdeditch Posted January 8, 2012 Author Share Posted January 8, 2012 I will try that and let you know how it went. Link to comment Share on other sites More sharing options...
bdeditch Posted January 8, 2012 Author Share Posted January 8, 2012 OK something seems to be working better Dave. I think you should rename the program to "Does not play well with others" Link to comment Share on other sites More sharing options...
bdeditch Posted January 8, 2012 Author Share Posted January 8, 2012 bdeditch wrote:OK something seems to be working better Dave. I think you should rename the program to "Does not play well with others"I tried to see what would happen when I plugged in the Enttec and it stopped again. So this is the problem, it hates to work with anything else. I think problem is solved, I hope Link to comment Share on other sites More sharing options...
dmoore Posted January 9, 2012 Share Posted January 9, 2012 bdeditch wrote: OK something seems to be working better Dave. I think you should rename the program to "Does not play well with others"It wasn't designed that way - it was designed so that someone didn't need to know what serial port they were using. More of a plugin and program system. It wasn't intended to ever work with others as it were..Glad to see you got it working though! Link to comment Share on other sites More sharing options...
bdeditch Posted January 11, 2012 Author Share Posted January 11, 2012 Well as Dave said it is not meant to be used with anything else. Once I got rid of all other com ports that were be used ( Unplugging the usb cords) it worked great. I used Xlights to test the lights and it worked great as well. Link to comment Share on other sites More sharing options...
Recommended Posts