NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

.seq name available during execution of edit substep?

Hello,
I have a case where I'd like the sequence file name to be availalbe during execution of the edit substep.  Normally, during running of an actual sequence, this would be available under the runstate tree, but this does not appear to get populated by merely running an edit substep.  Is there a property in existence that is contains the sequence file name during edit substep execution?
0 Kudos
Message 1 of 2
(2,803 Views)
Depending on what property you have available, you have a few properties that you could use.
 
If you pass a step object into your edit substep, you can use Step.Sequence.SequenceFile.Path
If you pass a sequence context into your edit substep, you can use SequenceContext.SequenceFile.Path
 
Be careful using this property, as it is common to add steps that belong to a sequence file that has not been saved.  In this case, the Path property will return an empty string.
 
 
Hope this helps!
 
Allen P.
NI
0 Kudos
Message 2 of 2
(2,800 Views)