NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check any directory existance in TestStand?

Solved!
Go to solution

How to check any directory existance in TestStand?

Is there TestStand function? Or other option without writing my own code in external program (e.g. LabVIEW or C)?

Thanks in advance

0 Kudos
Message 1 of 3
(2,943 Views)
Solution
Accepted by topic author Berezka

Try the method Engine.FindPath. BTW many times when you are doing file I/O, depending on what you are doing exactly, you need to write a code module.

 

cc

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

At Least according to the NI TestStand 2012 documentation, Engine.FindPath and Engine.FindFile work only within the NI TestStand SearchDirectories.

 

Maybe related: remote paths (\\server\path\to\file.ext) are considered "invalid" by Engine.FindPath.

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