ModuleUnloadOptions Enumeration

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Use these constants to set the sequence file and step code module options that control when TestStand unloads code modules and subsequence files. When you use one of these constants with the SequenceFile.ModuleUnloadOption property, it applies to all steps in the sequence file. When you use one of these constants with the Step.ModuleUnloadOption property, it applies to a particular step. When you use one of these constants with the StepType.ModuleUnloadOption property, it applies to subsequent steps of this 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.

See Also

SequenceFile.ModuleUnloadOption

Step.ModuleUnloadOption

StepType.ModuleUnloadOption

WAS THIS ARTICLE HELPFUL?

Not Helpful