NI TestStand

取消
显示结果 
搜索替代 
您的意思是: 

Python Step Types for TestStand Now Available!

Hi Kevin,

 

Unfortunately this fix didn't work for me.

 

Thanks,

Geoff

0 项奖励
11 条消息(共 24 条)
3,534 次查看

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 项奖励
12 条消息(共 24 条)
3,504 次查看

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 项奖励
13 条消息(共 24 条)
3,501 次查看

@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 项奖励
14 条消息(共 24 条)
3,467 次查看

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 项奖励
15 条消息(共 24 条)
3,441 次查看

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

0 项奖励
16 条消息(共 24 条)
3,262 次查看

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 项奖励
17 条消息(共 24 条)
3,262 次查看

I found out how to un-install it

 

image.png

 

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

0 项奖励
18 条消息(共 24 条)
3,261 次查看

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 项奖励
19 条消息(共 24 条)
3,246 次查看
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.
下载全部
0 项奖励
20 条消息(共 24 条)
2,958 次查看