NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

determining calling sequence file

From the MainSequence, I can make the call shown (just trying to see if "M38432002" is found in the name of the sequence file)

 

Find(ThisContext.SelectedFile.Path,"M38432002",0,True,False))==-1

 

But if I try this from PreUUT, it doesn't know what 'ThisContext' is.  Is there a way to determine the name of the sequence file when we're in the PreUUT sequence?

0 Kudos
Message 1 of 4
(3,380 Views)

RunState.ProcessModelClient.Path

 

Thanks,

 

PH

Message 2 of 4
(3,374 Views)

It needed 'Caller' just before ProcessModelClient, then it worked.  THanks so much.

 

RunState.Caller.ProcessModelClient.Path

0 Kudos
Message 3 of 4
(3,371 Views)

Hi,

 

just a annotation.

I would prefer to use RunState.Root instead RunState.Caller

because Caller is only valid in "MainSequence".

 

Juergen

 

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 4
(3,352 Views)