TestStand 2019 Help
»View Product Info
Use the following constants with this data type:
- FileGlobalsScopeOption_AllExecutionsShare–(Value: 1) Specifies that the first execution that runs the sequence file creates a run-time copy of the global variables and initializes the variables to the default values. Any other execution that runs the sequence file concurrently uses the same global variables. When the last execution that uses the sequence file global variables completes, TestStand discards the file global variables. A common use case for selecting this option might be when you want to share variables among multiple executions you start with the Batch or Parallel process model.
- FileGlobalsScopeOption_SeparateForEachExecution–(Value: 0) Specifies that each execution that runs the sequence file creates a separate run-time copy of the global variables and initializes the variables to the default values. Threads within an execution share the run-time copy of the variables for the execution.
Specifies the lifetime of the sequence file global variables and whether multiple executions share the sequence file global variable values.
If a sequence file unloads from memory and an execution later reloads the sequence file, the execution creates a new run-time copy of the file global variables and initializes the variables to the default values.