Execution.SetSequenceDefaultValues

Syntax

Execution.SetSequenceDefaultValues( defValSequence, defaultValueType)

Purpose

Instructs the execution to use a default value copy of the sequence to create run-time copies 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.NewSequenceDefaultValues method to instruct the execution to use different default values for the local variables and step properties.

You can associate default value sequences with either a specific execution or the hierarchy of executions with which the execution is associated. For example, setting a default value sequence on the hierarchy of execution associated with a Batch model applies the default value sequence to the controlling batch execution and all test socket executions. If an execution and the execution hierarchy both specify a default value sequence, TestStand uses the default value sequence the execution specifies.

Parameters

defValSequence As Sequence

[In] Specifies the default value sequence the execution uses to create run-time sequences. Use the Execution.NewSequenceDefaultValues method to create a default value sequence and update the local variables and step properties in the sequence before calling this method.

defaultValueType As SequenceDefaultValueScopes

[In] Specifies whether the method operates on the list of default value sequences for the execution or the hierarchy of executions associated with the execution.

See Also

Execution.ClearSequenceDefaultValues

Execution.GetSequenceDefaultValues

Execution.NewSequenceDefaultValues

Sequence

SequenceDefaultValueScopes