04-10-2014 11:30 AM
Kevin,
It works now. The Get Sequence Name step was adding a ":1" to the end of my file name. However, now it still won't actually run the RT sequence. It just jumps into the while loop and loops forever until I terminate it.
04-10-2014 12:50 PM
Hmm,
If you open up the workspace while it is running can you tell if the sequence being applied? I just wonder if the problem is in running the sequence or in reading the state.
04-10-2014 01:20 PM
Kevin,
It does not run on the workspace. When I run the RT sequence from the stimulus profile editor in VS it works just fine, but when I try and call that same RT sequence through TS it doesn't actually run the sequence.
04-10-2014 02:21 PM
Kevin,
I fixed the problem. I found out that in order for the sequence to run, when you set up the parameters in the Open and Deploy step, you have to set up the parameters as Paths, and the value as their path in the VS project.
04-10-2014 02:23 PM
Ah ya, Glad you got it working
04-22-2014 09:16 AM
Using 2013 & the v300 Add-on. I get an exception when selecting my sysdef in the dialog for the 'set model parameter value' custom step type.
04-22-2014 09:19 AM
Hey dafdi13,
What exception do you get?
04-22-2014 09:23 AM
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at NationalInstruments.VeriStand.SystemStorage.TravNdCompoundFilter.CheckWithFilter(BaseNodeType node)
at NationalInstruments.VeriStand.SystemStorage.FilteredHierarchyRetriever.InsertSortedChildren(List`1 unfilteredDirectChild, BaseNodeType parent)
at NationalInstruments.VeriStand.SystemStorage.FilteredHierarchyRetriever.Visit(SectionType element)
at NationalInstruments.VeriStand.SystemStorage.SectionType.Accept(IVisitorWithInspection visitorInspection)
at NationalInstruments.VeriStand.SystemStorage.BaseNodeType.GetSortedNodeChildren(Boolean deep, Boolean naturalSort, String[] guidsToSkipChildSort, ITraverseNodeFilter filter)
at NationalInstruments.VeriStand.SystemStorageUI.SystemDefinitionBrowser.PopulateOnlyChildrenWithValidItem(TreeViewItem parentItem)
at NationalInstruments.VeriStand.SystemStorageUI.SystemDefinitionBrowser.InitializeNewTreeViewItem(BaseNodeType node)
at NationalInstruments.VeriStand.SystemStorageUI.SystemDefinitionBrowser.set_StartNode(BaseNodeType value)
at NationalInstruments.VeriStand.SystemStorageUI.StorageChannelAndAliasBrowser.RepopulateBrowser()
at NationalInstruments.VeriStand.SystemStorageUI.StorageChannelAndAliasBrowser.SetSystemDefinitionDisplayFilter(ISystemDefinitionBrowserFilterType channelViewFilterType, ITraverseNodeFilter channelViewCustomFilter, ISystemDefinitionBrowserFilterType aliasViewFilterType, ITraverseNodeFilter aliasViewCustomFilter)
at NationalInstruments.VeriStand.SystemStorageUI.WinFormsWrapper.TreeAliasBrowserWF.set_DisplayFilter(ISystemDefinitionBrowserFilterType value)
at OpenWorkspaceDialog.NativeChannelSelectionDialog.InitializeListBox(String _sysDefPath)
at OpenWorkspaceDialog.NativeChannelSelectionDialog.openFileDialog1_FileOk(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.HandleVistaFileOk(IFileDialog dialog)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
zNationalInstruments.TestStand.DotNetAdapterGAC
Assembly Version: 5.1.0.226
Win32 Version: 5.1.0.226
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/zNationalInstruments.TestStand.DotNetAdapterGAC/v4.0_5.1.0.226__ad9244eb3b825cd8/zNationalInstruments.TestStand.DotNetAdapterGAC.dll
----------------------------------------
NationalInstruments.Veristand.VeristandSteps
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/NationalInstruments.Veristand.VeristandSteps/v4.0_1.0.0.1__25624132ff430a06/NationalInstruments.Veristand.VeristandSteps.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
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.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
NationalInstruments.VeriStand.ClientAPI
Assembly Version: 2013.0.0.0
Win32 Version: 2013.0.0.71
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.VeriStand.ClientAPI/v4.0_2013.0.0.0__a6d690c380daa308/NationalInstruments.VeriStand.ClientAPI.dll
----------------------------------------
DotNetAdapterManagedSupport
Assembly Version: 5.1.0.226
Win32 Version: 5.1.0.226
CodeBase: file:///C:/Program%20Files%20(x86)/National%20Instruments/TestStand%202013/Bin/DotNetAdapterManagedSupport.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
NationalInstruments.TestStand.Interop.UI.AxControls
Assembly Version: 5.0.0.252
Win32 Version: 5.0.0.252
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/NationalInstruments.TestStand.Interop.UI.AxControls/5.0.0.252__ad9244eb3b825cd8/NationalInstruments.TestStand.Interop.UI.AxControls.dll
----------------------------------------
NationalInstruments.TestStand.Interop.API
Assembly Version: 5.0.0.252
Win32 Version: 5.0.0.252
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/NationalInstruments.TestStand.Interop.API/5.0.0.252__ad9244eb3b825cd8/NationalInstruments.TestStand.Interop.API.dll
----------------------------------------
NationalInstruments.TestStand.Interop.UI
Assembly Version: 5.0.0.252
Win32 Version: 5.0.0.252
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/NationalInstruments.TestStand.Interop.UI/5.0.0.252__ad9244eb3b825cd8/NationalInstruments.TestStand.Interop.UI.dll
----------------------------------------
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
NationalInstruments.TestStand.Interop.UI.Support
Assembly Version: 5.0.0.252
Win32 Version: 5.0.0.252
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/NationalInstruments.TestStand.Interop.UI.Support/5.0.0.252__ad9244eb3b825cd8/NationalInstruments.TestStand.Interop.UI.Support.dll
----------------------------------------
System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
NationalInstruments.VeriStand.SystemStorageUI
Assembly Version: 2013.0.0.0
Win32 Version: 2013.0.0.71
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.VeriStand.SystemStorageUI/v4.0_2013.0.0.0__a6d690c380daa308/NationalInstruments.VeriStand.SystemStorageUI.dll
----------------------------------------
NationalInstruments.VeriStand.SystemStorage
Assembly Version: 2013.0.0.0
Win32 Version: 2013.0.0.71
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.VeriStand.SystemStorage/v4.0_2013.0.0.0__a6d690c380daa308/NationalInstruments.VeriStand.SystemStorage.dll
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
NationalInstruments.VeriStand.Internal
Assembly Version: 2013.0.0.0
Win32 Version: 2013.0.2.3
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.VeriStand.Internal/v4.0_2013.0.0.0__a6d690c380daa308/NationalInstruments.VeriStand.Internal.dll
----------------------------------------
NationalInstruments.VeriStand
Assembly Version: 2013.0.0.0
Win32 Version: 2013.0.2.3
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.VeriStand/v4.0_2013.0.0.0__a6d690c380daa308/NationalInstruments.VeriStand.dll
----------------------------------------
NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly Version: 2013.0.0.0
Win32 Version: 2013.0.0.71
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.VeriStand.SystemDefinitionAPI/v4.0_2013.0.0.0__a6d690c380daa308/NationalInstruments.VeriStand.SystemDefinitionAPI.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
NationalInstruments.VeriStand.XMLReader
Assembly Version: 2013.0.0.0
Win32 Version: 2013.0.0.71
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.VeriStand.XMLReader/v4.0_2013.0.0.0__a6d690c380daa308/NationalInstruments.VeriStand.XMLReader.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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>
04-22-2014 09:31 AM
Hmm, Did you drop and configure the initialize veristand step first?
Is it with any system definition or just a specific one - I just tried with a test one and that step seems to work OK.
04-22-2014 09:31 AM
I read this in the documentation:
To change model parameter or model execution state first execute the Open Model Manager Step
-Model parameters can be updated individually using the Set Model Parameter Value Step or from file using the Update Model Parameters from file step
-Models can be stopped and started using the Set Model Execution State Step
I don't see the 'open model manager step' or the 'set model excecution state step'