NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatiicaly determine if a subsequence exists

How do I determine if a named sequence exists in a sequence file (not the current sequence file) and if present, execute it? The file in which the sequence resides may or may not be loaded.

I would like to do this within a TestStand sequence (presumably using the TestStand API). I'm using TS 3.0. I know how to dynamically call the sequence, I just need to determine if it exists before calling it.
0 Kudos
Message 1 of 2
(3,139 Views)
Hi,
 
Get a reference to the SequenceFile then you can use the API SequenceFile.SequenceNameExists(sequenceNameParam) and this returns a Boolean.
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(3,135 Views)