Step.ModuleUnloadOption
- Updated2025-07-21
- 1 minute(s) read
Step.ModuleUnloadOption
Syntax
Step.ModuleUnloadOption
Data Type
Use the following constants with this data type:
- UnloadOption_AfterSequenceExecution –(Value: 3) Unloads the code module for a step after the sequence containing the step finishes executing.
- UnloadOption_AfterStepExecution –(Value: 2) Unloads the code module for a step after the step finishes executing.
- UnloadOption_OnPreconditionFailure –(Value: 1) Unloads the code module for a step if the precondition for the step evaluates to False .
- UnloadOption_UseStepUnloadOption –(Value: 5) Unloads the code module for a step according to the unload option for the step. This option is valid only for the SequenceFile.ModuleUnloadOption property.
- UnloadOption_WithSequenceFile –(Value: 4) Unloads the code module for a step when TestStand unloads the sequence file from memory that contains the step.
Purpose
Specifies the option that determines when TestStand unloads the code module for the step.
Remarks
The SequenceFile.ModuleUnloadOption property takes precedence over this property, unless the value of the SequenceFile.ModuleUnloadOption property is UnloadOption_UseStepUnloadOption .