NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to external sequence call withput full path?

Solved!
Go to solution

Hello,

i have a sequence call that calls an external file in a subdirectory of the current sequence.

c:\test\mySequence.seq calls

c:\test\sub\mySUBSequence.seq

 

The full path & filename is fix written in the sequence call.

 

if i now rename c:\test into c:\new the also the path to the subsequnce is invalid.

 

Is there way to change this? The name of the subdiretory of the subsequence is the same.

Something like %PathOfCurrentSeq%\sub\mySUBSequence.seq

 

Thanks

 

0 Kudos
Message 1 of 2
(94 Views)
Solution
Accepted by topic author OnlyOne

Hi OnlyOne,

 

It sounds like you need to set the call to the Sub sequence to use a relative path.

 

e.g.  I have the Sequence C:\Users\Steve B Dev\Desktop\CallerSequence.seq that calls the sequence C:\Users\Steve B Dev\Desktop\Sub\mySUBSequence.seq.  When I am configuring the call to mySUBSequence.seq in CallerSequence.seq I delete C:\Users\Steve B Dev\Desktop from the File Pathname as shown below.  This makes the path relative and then you can move the two sequences around to any folder you like as long as mySUBSequence.seq lives in a folder called Sub directly below where CallerSequence.seq is saved.

.

RelativePath.JPG

 

Hope this helps

 

Steve

Message 2 of 2
(90 Views)