ModuleUnloadOption Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

SequenceFile.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

This property instructs TestStand when to unload the code modules the steps in the sequence file call. You can use this property to override the unload option of all steps in the sequence file, or you can defer to the unload option contained in each individual step.


See Also

SequenceFile.ModuleLoadOption

Step.ModuleUnloadOption

WAS THIS ARTICLE HELPFUL?

Not Helpful