NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I see in memory if a sequence call is for a remote computer?

Using preconditions on a step, I can determine whether or not to run the particular step. I wish to test remote sequences calls but skip other sequence calls. When setting up a sequence call, there is the "Run sequence on remote computer" option. How can I see this selected option when running?
0 Kudos
Message 1 of 3
(3,082 Views)
Jeff -
In both TestStand 2.x and 3.0, you can access the setting using the expression "Step.TS.SData.RemoteExecution". It is a boolean value.

Scott Richardson (NI)
Scott Richardson
https://testeract.com
Message 2 of 3
(3,082 Views)
Ultimately, it worked! Thanks for the info. I was trying to stop on a failure of a remote sequence or a regular step, but skip over normal sequence calls within StationCallbacks.seq. I used the following precondition to my GOTO END step.

(TypeOf(Parameters.Step) == "SequenceCall") && ((PropertyExists("Parameters.Step.TS.SData.RemoteExecution")) && (Parameters.Step.TS.SData.RemoteExecution==False))
0 Kudos
Message 3 of 3
(3,082 Views)