NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Adapter in TestStand 2014

I am using the Python Adapter in TestStand 2014 to send commands to my device and get back values such as voltage\temperature\current. When I send commands that report back a single value, I am able use the String or Number Return Value options to get the values. However, when the method returns a value and then prints out information, TestStand returns an error and I am unable to collect the data.

 

Example:

Get_Status() returns:

Result: 1

"Voltage: 14

Current: 5

Temperature 30"

 

I also noticed that after I run the test, if I try to run a second unit (even if it is the same unit), the python seems to lock up and refuse to run any step. Once I terminate and run again (which presumably unloads python), it will work.

0 Kudos
Message 1 of 1
(2,003 Views)