1. Software installation
2. Environment configuration
3. Module check
4. Call step
1、teststand 2014 No self-contained python adapter, You can install ni The plug-ins provided on the official website solve installation is complete teststand2014 Double click to install the following plug-ins .
download TestStand Python Step type - NI
2、 To configure python Environmental Science ,teststand The friendly support is from python The interpreter downloaded from the official website . Only support cpython Format interpreter . Click the following link to download 3.6 3.7 To 3.10 Fine , Double click Install . Configure user environment variables after installation , My general user and system environment variables will be added synchronously python Environmental Science . Here's the picture :
Python Releases for Windows | Python.org
3. After the above steps, if teststand The specified... In the environment variable is still not found python, Check C:\Program Files\National Instruments\Shared\NIPythonInterface\niPythonHost.exe Whether there is , I found this module missing when I installed it on the third computer . By copying this module from other computers .
4. Call step reference Python Step Types in TestStand Help documentation or directly click on the following links .
Calling Scripting Languages from NI TestStand - NI