VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Import Double Array from File - Error

Hello, I'm using Veristand 2013 SP1 and would like to import a double array from a file in order to play it with PlayWaveform.nivsseq. When I right-click on Local Variables / Import Double Array from File, I get the following:

 

An error occurred:

The invocation of the constructor on type 'NationalInstruments.UI.WindowsForms.WaveformGraph' that matches the specified binding constraints threw an exception.

 

Details

System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NationalInstruments.UI.WindowsForms.WaveformGraph' that matches the specified binding constraints threw an exception. ---> System.ComponentModel.LicenseException: NationalInstruments.UI.WindowsForms.WaveformGraph evaluation period has expired.
   at NationalInstruments.Restricted.EvalReleaseLicense.ShowEvalBehavior(Type type, Object instance, String licenseString)
   at NationalInstruments.Restricted.EvalReleaseLicense.ComponentRunTimeCheck(Type type, Object instance, String licenseString)
   at NationalInstruments.Restricted.LicenseBase.a(Type A_0, Object A_1, String A_2)
   at NationalInstruments.Restricted.LicenseBase.a(Type A_0, Object A_1)
   at NationalInstruments.Restricted.LicenseBase.RunTimeCheck(LicenseContext context, Type type, Object instance)
   at NationalInstruments.Restricted.LicenseProviderBase.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
   at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
   at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
   at NationalInstruments.UI.WindowsForms.WaveformGraph..ctor()
   at System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.InvokeDelegate(Action`1 action, Object argument)
   at System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CallCtorDelegate(XamlTypeInvoker type)
   at System.Xaml.Schema.XamlTypeInvoker.DefaultCtorXamlActivator.CreateInstance(XamlTypeInvoker type)
   at System.Xaml.Schema.XamlTypeInvoker.CreateInstance(Object[] arguments)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor(XamlType xamlType, Object[] args)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(XamlType xamlType, Object[] args)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at NationalInstruments.VeriStand.CommonUI.UsiImportFileDialogWindow.InitializeComponent()
   at NationalInstruments.VeriStand.CommonUI.UsiImportFileDialogWindow..ctor()
   at NationalInstruments.VeriStand.StimulusEditor.LocalVariablesViewModel.ImportFromFileExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

 

Q1: What the error message above means?

Q2: Is it the best way to play a custom waveform in Veristand or is there another way?

 

Thank you!

0 Kudos
Message 1 of 2
(2,985 Views)

Hello,

 

I guess the key point in the message is: "System.ComponentModel.LicenseException: NationalInstruments.UI.WindowsForms.WaveformGraph evaluation period has expired."

 

So you may have a licensing problem on your computer, maybe you need just to reactive it.

 

Best regards

0 Kudos
Message 2 of 2
(2,969 Views)