ModuleUnloadOption Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Step.ModuleUnloadOption

Data Type

ModuleUnloadOptions

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.


See Also

SequenceFile.ModuleUnloadOption

Step.ModuleLoadOption

WAS THIS ARTICLE HELPFUL?

Not Helpful