NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Call Method: How to get bytearray return value

Hello,

I use TestStand for calling some python methods. These methods are returning bytearray values. How can I collect this return values, what can of local variable I need to use? I have tried to collect the retunred value in array of numbers but I get error:

 

Error: Error in 'Return Value'.

Failed when tyring to convert field of tuple at index: 0. Inner error: 
D:\_w\1\s\Objects\listobject.c:202: bad argument to internal function
[Error Code: -17311, Could not accept the parameters passed in. ]

 

 

pero12_0-1668175705532.png

The FileGlobal_2 var is an empty array of numbers. The type of var that I expect from the python method is bytearray.

Is there some way to do this?

Thank you in advance for the support.

0 Kudos
Message 1 of 1
(589 Views)