NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Step Types for TestStand Now Available!

Hi Kevin,

 

Unfortunately this fix didn't work for me.

 

Thanks,

Geoff

0 Kudos
Message 11 of 24
(3,178 Views)

I am using the Python Step Types in Teststand 2016 64bit, but i am wondering how to get the "print" 's logged. Is that even possible? Is an example available?

0 Kudos
Message 12 of 24
(3,148 Views)

Hey Andreas,

 

By print, are you referring to stdout? Currently the steps don't support that. Consider modifying your python module such that the information logged to the stdout is logged to a variable that can be passed back to TestStand.

0 Kudos
Message 13 of 24
(3,145 Views)

@RoxtheFox wrote:

Hey Geoff, 

 

Do you have Python 2.7 or 3.6 installed? If you do, you can just type "2.7" or "3.6" into the Version input. Make sure that the paths to the appropriate version of your python.exe is in the PATH environments configuration. 


Does it have to be Python 3.6.0? I installed 3.6.7 and the drop down next to Version is empty. Entering "3.6" results in Invalid version error message.

0 Kudos
Message 14 of 24
(3,111 Views)

I installed the Python Step Type 2 days ago and I had the same problem.

 

I do not have an exact root cause for the problem. But initially I installed the ActivePython which the NI guide also referred to. Alone Python worked fine, but with TestStand I got the same problem and the configuration window also always crashed.

 

Then I installed Python 3.6.7, 32bit from python.org and with that it works fine.

 

I hope this helps.

 

Regards: Istvan

0 Kudos
Message 15 of 24
(3,085 Views)

Is this a stable version to be used in Production environment?

0 Kudos
Message 16 of 24
(2,906 Views)

How can I uninstall it?

I am not able to find it under Control Panel\Programs\Programs and Features --> National Instruments Software --> NI Package Manager

I am using Labview 2018 and TestStand 2017

0 Kudos
Message 17 of 24
(2,906 Views)

I found out how to un-install it

 

image.png

 

my previous question remains un-answered....any comment?

0 Kudos
Message 18 of 24
(2,905 Views)

Hello,

I was unable to have the Python Step work with the Virtual Environment option set up. The environment has a python 3.6 but the red icon is always there!

 

Does anyone have any experience with the virtual environment?

Thanks

2019-03-19 14_17_16-Clipboard.png

 

0 Kudos
Message 19 of 24
(2,890 Views)
per my user experience, you can first open one sample sequence located at ..\National Instruments\TestStand 2014 (32-bit)\Examples\Custom Step Types\Python Step Types\Passing Data to Python\Passing Data to Python.seq, select the python version you are using at pop up window. then you could take a look the python step properties in the sample step type. see the attached pictures for reference.
Download All
0 Kudos
Message 20 of 24
(2,602 Views)