12-19-2019 04:32 PM
Hi all,
I installed the Python Step Types plug-in for the TestStand 2017 dev application. I followed the steps in the NIPythonStepType.pdf and proceeded to load up the Computer Motherboard Test Sequence.seq file from the Examples' Python folder. Running that triggered an error: "
Solved! Go to Solution.
01-06-2020 01:47 PM
Adding another screenshot. This is of the Initialize Computer Test step in the Computer Motherboard Test Sequence example file. There's an exclamation mark saying that the ni_teststand_helper module isn't found. Per the NIPythonStepType.pdf documentation, the
option for adding the Python path to the environment variables during installation needs to be checked. I checked with the path variables and Python 2.7 is in the path. (we're going to migrate to the latest sometime this year). All teststand related variables all have the correct path info. Is there a specific path I need to look at for this python+TestStand interaction to work properly?
01-07-2020 11:08 AM
After some figuring out, I have the solution. It's simple that I am smacking myself in the head for not checking this step first. The Python Computer Motherboard Test Sequence did not come with a ReadMe doc. The python example script imports from ni_teststand_helper.py which is located elsewhere -- specifically here: %teststandpublic%\Components\StepTypes\NIPython\. The solution was to add that path to the Configure -> Search Directories.
The errors I was getting no longer appear. I have a different error that I'm looking into, but the conclusion is now: "Test Failed" rather than a "Test Sequence Error" containing a "Error executing substep 'Post'" detail message.
Marking this as the solution for others who may run into this.