NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I find the path to a TestStand sequence file using LabVIEW

My LabVIEW application launches a bunch of teststand sequences, provided it has the complete path to each of them. I want to make it more flexible by providing it just the name of the TestStand sequence so that it will go and find the path to the sequence by searching a directory structure. TestStand has a neat FindFile() function that can do this, but I need to do this from within LabVIEW. Is there a way to do it?
0 Kudos
Message 1 of 2
(3,152 Views)
There are a few ways to do this depending on how you are getting the sequence files.  If you are calling the GetSequenceFileEx method, you can just pass the GetSeqFile_FindFile (0x20) flag in the SequenceFileFlags property.  If you are using the ApplicationMgr.OpenSequenceFile method, this is automatically done for you.

If you want to use the FindFile function in general, you can use the Engine.FindFile method.

Allen P.
NI

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