From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,933 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,923 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,655 Views)