NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python output script issue

Solved!
Go to solution

I am using call executable step to launch python script that was created by a third party.

 

When launching one of the script, I don't get from the standard output Destination all the output, only a portion of it.

Is there any limitation in number of charaters in the standard output  or there is special charaters that indicate the end of the string.

For example the output has 5344 charaters and get only 1500.

I am running under TS2016, windows 10.

  

0 Kudos
Message 1 of 3
(2,732 Views)

Hi Jean, 

 

Have you tried outputting the string to a file by changing the destination of the standard output? Do you see all of the string if you do that? 

 

Also, we have released TestStand python step types for TestStand 2014 - 2017. You should also give those a try with your python code! 

 

Thanks,

Roxy

0 Kudos
Message 2 of 3
(2,701 Views)
Solution
Accepted by topic author JTTest1997

Hi Roxy,

 

Yes it works outputting the string to a file. The issue was cause by NULL characters.

 

I will try using new released TestStand python step types.

 

Thanks

Jean

0 Kudos
Message 3 of 3
(2,698 Views)