PythonInterpreterSessionScopes
- 업데이트 날짜:2025-07-21
- 1분 (읽기 시간)
PythonInterpreterSessionScopes
Use the following constants with the PythonAdapter.InterpreterSessionScope or the PythonModule.InterpreterSessionScope property to specify which Python interpreter session TestStand should use for the Python Adapter step.
- 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.