NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to define Containing Project Directory in the TestStand Search Path?

In TestStand Search Path one of the list is "Containing Project Directory". How can I define this?
0 Kudos
Message 1 of 3
(3,055 Views)
LegalEngineer,

"Containing Project Directory" is the directory that contains the project file and is defined at "run-time," so you are not able to specifically re-define it.

You could disable searching in the "Containing Project Directory" and add a new absolute directory in it's place - use the Move Up and Move Down buttons inside of the Edit Search Directories dialog box to get the new directory in the correct search location. That, of course, eliminates the dynamic nature of the "Containing Project Directory."

Hope that helps!

Matt P.
Applications Engineer
National Instruments


I hope that helps.

Matt P.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,055 Views)
Legal Engineer -
TestStand does expose the "containing project directory" in the search directories dialog box. It only has meaning for the FindFile API function when the "currentSequenceFile" parameter is set to a project file. I agree that it is confusing in that it does not apply to steps finding code modules. If you unchecks this setting and you reload a workspace, any projects that use relative paths to specify their files may no longer find their files.

In general the suggestion is to leave it checked and ignore it.

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 3
(3,055 Views)