Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

how to load files up one step from local working directory

$
0
0

Good afternoon,

 

I have a project assigned to me that has some Ni TestStand code written to read files from a fixed directory and I would like to change this directory to be the directory where the TestStand seqeunce file is located.

 

Furthermore, I would like to be able to step back one directories and forward into a different directory. Is this possible? I know in linux his is done with ..\ preceeding the directory location

 

I want ot do this for variables in TestStand and also for pats in LabView.

 

Cna somebody provide me with the correct syntax, for example if

 

my seq file is C:\User\Test\myseq.seq

 

and I want to open an ini file located in

 

C:\Config\config.ini

 

Should I save the path for the variable as

 

..\..\Config\config.ini ?? 

 

 

Thanks,

-D


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>