PythonModule.InterpreterSessionScope

Syntax

PythonModule.InterpreterSessionScope

Data Type

PythonInterpreterSessionScopes

Use the following constants with this data type:

  • PythonInterpreterSessionScope_Global –(Value: 0x3) Specifies that interpreter session created per TestStand instance should be used to execute the code module.
  • PythonInterpreterSessionScope_ObjectReference –(Value: 0x0) Specifies that the interpreter session to use as specified by object reference. This value applies only to step instance.
  • PythonInterpreterSessionScope_PerExecution –(Value: 0x2) Specifies that interpreter session created per TestStand Execution should be used to execute the code module.
  • PythonInterpreterSessionScope_PerThread –(Value: 0x1) Specifies that interpreter session created per TestStand Thread should be used to execute the code module.

Purpose

The Python interpreter session to use for executing the specified operation in the Python module.