PDA

View Full Version : Error when copying Watt Meter data from one sequence to another Sequence



cobraman44
06-11-2008, 09:00 AM
Let me know if you need other info.

Here are the results:

1. Created new blank sequence called Watt Meter
2. Attached profile (Also tried it without profile attached)
3. Setup all channels in Watt Meter
4. Saved new sequence
5. Tried to just copy loadable data
6. Got the following question:
This change requires that events are to be truncated in order to maintain data integrity. This will cause data loss in the destination sequence. Proceed?
I have tried both Yes and No

7. The following error occurs and no data is copied.
Divide by zero

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

************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
at Vixen.CopyDataDialog2.buttonCopy_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(MouseEventAr gs 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.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Vixen
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/Vixen.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
fmod
Assembly Version: 2.0.5.1
Win32 Version: 2.0.5.1
CodeBase: file:///C:/Program%20Files/Vixen/fmod.DLL
----------------------------------------
CometConversion
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/CometConversion.DLL
----------------------------------------
DMXAddIn
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/DMXAddIn.DLL
----------------------------------------
MIDIReader
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/MIDIReader.DLL
----------------------------------------
Prop1SeqGen
Assembly Version: 2.0.5.1
Win32 Version: 2.0.5.1
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/Prop1SeqGen.DLL
----------------------------------------
Prop2SeqGen
Assembly Version: 2.0.5.1
Win32 Version: 2.0.5.1
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/Prop2SeqGen.DLL
----------------------------------------
RemoteClient
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/RemoteClient.DLL
----------------------------------------
RGBLEDAddIn
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/RGBLEDAddIn.DLL
----------------------------------------
Spectrum
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/Spectrum.DLL
----------------------------------------
WattMeter
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/WattMeter.DLL
----------------------------------------
Waveform
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/AddIns/Waveform.DLL
----------------------------------------
FrameGenerator
Assembly Version: 2.0.5.1
Win32 Version: 2.0.5.1
CodeBase: file:///C:/Program%20Files/Vixen/Plugins/UI/FrameGenerator.DLL
----------------------------------------
Frames
Assembly Version: 2.0.5.1
Win32 Version: 2.0.5.1
CodeBase: file:///C:/Program%20Files/Vixen/Plugins/UI/Frames.DLL
----------------------------------------
LedTriksUI
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/Plugins/UI/LedTriksUI.DLL
----------------------------------------
StandardScript
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/Plugins/UI/StandardScript.DLL
----------------------------------------
ScriptEngine
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/ScriptEngine.DLL
----------------------------------------
StandardSequence
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/Plugins/UI/StandardSequence.DLL
----------------------------------------
TriggerResponse
Assembly Version: 2.0.7.0
Win32 Version: 2.0.7.0
CodeBase: file:///C:/Program%20Files/Vixen/Plugins/UI/TriggerResponse.DLL
----------------------------------------
AppUpdate
Assembly Version: 2.0.5.1
Win32 Version: 2.0.5.1
CodeBase: file:///C:/Program%20Files/Vixen/AppUpdate.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.85.1.271
Win32 Version: 0.85.1.271
CodeBase: file:///C:/Program%20Files/Vixen/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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.

KC
06-12-2008, 09:05 AM
Tried to copy *just* loadable data? If so, and if you can reproduce this doing just loadable data, can you send me or attach the source and destination sequences in question? This message shouldn't come up unless you're trying to copy something that would affect the event values.

cobraman44
06-12-2008, 09:26 AM
KC
Here are the sequences and the profile. Also I included an avi of what I am doing and when the error occurs. Let me know if you need further info.

KC
06-16-2008, 09:21 PM
Thank you for the data, now I can reproduce it. Yeah, it's trying to affect the data when you're not wanting it to. I've got a fix in place, and since it's stopping you from working I will try to get it posted tonight.

cobraman44
06-17-2008, 10:01 AM
Works great!!! Wow.. Thanks KC for such a quick response.

rlilly
06-18-2008, 03:02 PM
Cobraman,

Wow! That avi is a great way to communicate exactly what you're seeing!

How did you do that?

cobraman44
06-19-2008, 07:42 AM
The company I work for purchased a product called Wincam. We use it to make training videos. http://www.infostrider.com/wincam.htm

rlilly
06-19-2008, 08:10 AM
You can use it for free for 15 days before having to buy it.

Thanks!