November 21, 2024, 04:48:07 PM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


index outside the bounds of the array

Started by haunter45, September 04, 2014, 11:36:58 AM

Previous topic - Next topic

haunter45

September 04, 2014, 11:36:58 AM Last Edit: September 04, 2014, 11:44:40 AM by haunter45
I have done all my programming in vixen and when I sequence it into basic it says "index is outside the bounds of the array" what does this mean and how do I fix it.

JonnyMac

I don't ever remember seeing that message, and I have a lot of experience with PBASIC 1. Can you please attach program that Vixen produced so I can have a look at it?
Jon McPhalen
EFX-TEK Hollywood Office

haunter45

it t me save it to send the sequence but this is the reason it gives


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

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at StandardSequence.StandardSequence.CellsToArray()
   at StandardSequence.StandardSequence.CopyCells()
   at StandardSequence.StandardSequence.toolStripButtonCopy_Click(Object sender, EventArgs e)
   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: 2.0.0.0
    Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Vixen
    Assembly Version: 2.1.4.0
    Win32 Version: 2.1.4.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Vixen.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    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.5467 (Win7SP1GDR.050727-5400)
    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.5467 (Win7SP1GDR.050727-5400)
    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.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
fmod
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/fmod.DLL
----------------------------------------
AnalogSpectrum
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/AnalogSpectrum.DLL
----------------------------------------
CometConversion
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/CometConversion.DLL
----------------------------------------
DMXAddIn
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/DMXAddIn.DLL
----------------------------------------
EZ-8-I
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/EZ-8-I.DLL
----------------------------------------
MIDIReader
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/MIDIReader.DLL
----------------------------------------
Prop1SeqGen
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/Prop1SeqGen.DLL
----------------------------------------
Prop2SeqGen
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/Prop2SeqGen.DLL
----------------------------------------
RawDataExport
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/RawDataExport.DLL
----------------------------------------
RawDataImport
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/RawDataImport.DLL
----------------------------------------
RemoteClient
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/RemoteClient.DLL
----------------------------------------
RGBLEDAddIn
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/RGBLEDAddIn.DLL
----------------------------------------
Spectrum
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/Spectrum.DLL
----------------------------------------
WattMeter
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/WattMeter.DLL
----------------------------------------
Waveform
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AddIns/Waveform.DLL
----------------------------------------
LedTriksUI
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/UI/LedTriksUI.DLL
----------------------------------------
LedTriksUtil
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/LedTriksUtil.DLL
----------------------------------------
StandardScript
    Assembly Version: 2.1.1.0
    Win32 Version: 2.1.1.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/UI/StandardScript.DLL
----------------------------------------
ScriptEngine
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/ScriptEngine.DLL
----------------------------------------
StandardSequence
    Assembly Version: 2.1.4.0
    Win32 Version: 2.1.4.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/UI/StandardSequence.DLL
----------------------------------------
TriggerResponse
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/UI/TriggerResponse.DLL
----------------------------------------
AppUpdate
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/AppUpdate.DLL
----------------------------------------
ICSharpCode.SharpZipLib
    Assembly Version: 0.85.1.271
    Win32 Version: 0.85.1.271
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
AdjustablePreview
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/AdjustablePreview.DLL
----------------------------------------
DC-16
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/DC-16.DLL
----------------------------------------
DMX-512
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/DMX-512.DLL
----------------------------------------
IDMX
    Assembly Version: 2.1.3.0
    Win32 Version: 2.1.3.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/IDMX.DLL
----------------------------------------
DMXUSBPro
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/DMXUSBPro.DLL
----------------------------------------
EventDataLogger
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/EventDataLogger.DLL
----------------------------------------
EZ-8 Output
    Assembly Version: 2.5.0.8
    Win32 Version: 2.5.0.8
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/EZ-8%20Output.DLL
----------------------------------------
EZ-8
    Assembly Version: 2.1.4.0
    Win32 Version: 2.1.4.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/EZ-8.DLL
----------------------------------------
FC4_RC4
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/FC4_RC4.DLL
----------------------------------------
GenericSerial
    Assembly Version: 2.1.4.0
    Win32 Version: 2.1.4.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/GenericSerial.DLL
----------------------------------------
Hill320
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Hill320.DLL
----------------------------------------
Launcher
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Launcher.DLL
----------------------------------------
LedTriksOutput
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/LedTriksOutput.DLL
----------------------------------------
MiniSSC
    Assembly Version: 2.1.1.0
    Win32 Version: 2.1.1.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/MiniSSC.DLL
----------------------------------------
Olsen595
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Olsen595.DLL
----------------------------------------
Prop-1_3s4d
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Prop-1_3s4d.DLL
----------------------------------------
Prop-2_8s8d
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Prop-2_8s8d.DLL
----------------------------------------
Prop-SX_8s8d
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Prop-SX_8s8d.DLL
----------------------------------------
RC-4
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/RC-4.DLL
----------------------------------------
Renard
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Renard.DLL
----------------------------------------
Simple595
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Simple595.DLL
----------------------------------------
Simple595p
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/Simple595p.DLL
----------------------------------------
VirtualLedTriks
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///C:/Users/Beffers/Downloads/Vixen_2.1.x.x/Vixen%202.1.x.x/Plugins/Output/VirtualLedTriks.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.



JonnyMac

September 04, 2014, 02:15:27 PM #3 Last Edit: September 04, 2014, 02:19:18 PM by JonnyMac
Please send me your Vixen file (attach .VIX file to post)( so I can try it on my side -- this is a Vixen issue, not a BASIC Stamp issue.

I'm wondering if you have an out-of-date driver. I just opened Vixen, loaded the Prop-1 blank sequence, created a mock sequence, saved it, and then opened it in the BASIC Stamp editor with no problems.
Jon McPhalen
EFX-TEK Hollywood Office

haunter45


haunter45

I even just opened a blank sequence with a few on/off movements and got the same error

haunter45

it must have been a software error I downloaded vixen again and it seems fine now I just ran a test program fine

JonnyMac

Okay.

Did you download my Vixen ZIP file from our forums? That has all the latest and correct drivers for Version 2.1 which is the only version we support.
Jon McPhalen
EFX-TEK Hollywood Office

JonnyMac

Found your problem: The Prop-1 Sequence Generator expects a sequence with eight channels: the first six are for outputs, the seventh reserved (this is the trigger input on the Prop-1), and the final is for audio output on the controller and defines the end-of-sequence for Vixen.

If you download my Vixen ZIP file you will have a folder with properly-build blank templates for the Prop-1 and Prop-2.

See this thread:
-- http://www.efx-tek.com/php/smf/index.php?topic=2073.0
Jon McPhalen
EFX-TEK Hollywood Office