FileGlobalsScopeOptions

Use these constants with the SequenceFile.FileGlobalsScope property to specify the scope of the sequence file global variables.

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

See Also

SequenceFile.FileGlobalsScope