Execution.NewSequenceDefaultValues
- Updated2024-10-09
- 1 minute(s) read
Execution.NewSequenceDefaultValues
Syntax
Execution.NewSequenceDefaultValues( origSequence)
Return Value
Returns a Sequence object that represents default values an execution can use to create run-time copies of the sequence during execution. Typically, you update the local variables and step properties in the sequence this method returns, and use the Execution.SetSequenceDefaultValues method to instruct the execution to use the sequence to create run-time sequences.
Purpose
Creates a default value copy of the sequence.
Remarks
Whenever TestStand begins executing a sequence, it makes a run-time copy of the sequence. Normally, TestStand creates the run-time copy from the edit-time copy of the sequence in the sequence file. You can use this method in conjunction with the Execution.SetSequenceDefaultValues method to instruct the execution to use different default values for the local variables and step properties. Changes to the default value sequence this method returns do not update the edit-time copy of the sequence.
Parameters
origSequence As Sequence
[In] Specifies which default value sequence the method creates.
See Also
Execution.ClearSequenceDefaultValues
Execution.GetSequenceDefaultValues