FileGlobalsScopeOptions Enumeration

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

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

WAS THIS ARTICLE HELPFUL?

Not Helpful