NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Valid SequenceContext values?

I'm using a VI that is typically called by TestStand. It uses ThisContext to pass necessary information the VI uses to populate values automatically. However, I also want the ability to run the VI manually (without being called from TestStand). If I do this as it is, I get an error because the SequenceContext parameter does not have a valid value. I'ld like to be able to programmatically determine whether to use the SequenceContext input, or if it is an invalid value, enter the relevant information manually (or use defaults). Is there a way to determine when the SequenceContext input contains invalid data? I currently get a runtime error (Error 97 occurred: A null or previously deleted refnum was passed in as an input).

0 Kudos
Message 1 of 3
(2,980 Views)

Use the function under the Comparsion category:

 

 

 

Good luck,

 

PH

0 Kudos
Message 2 of 3
(2,979 Views)

Funny how easy something becomes when you know the proper tools to use.


That worked great. Thanks!

0 Kudos
Message 3 of 3
(2,975 Views)