NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to check to see if a sequence has been called, or is run by a user?

I'd like a subsequence to be called, but I'd like the Sequence to run differently if it is called versus run by a user.

 

What statement should I use and is this even possible?

 

Thanks.

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

How would the user run the sequence by itself?  Are talking about interactive mode?

 

If Runstate.Caller returns NULL, or Nothing in TestStand.  Then you have an interactive execution, i.e. the sequence was not called by anything.

 

Thanks,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(4,491 Views)

I used "runstate.Caller.SequenceIndex" to determine what the caller was.

 

Thanks!

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