05-07-2023 12:54 PM
Hello together,
I am trying to call a python script from TestStand for the first time. The script returns a list, a 2D array of numbers (type numpy.ndarray in Python) and a 1D array of numbers (numpy.ndarray). After calling the method from .py program in TS I get a Return value in the module window where I set a local container containing an array of strings, a 2D array of numbers and 1D array of numbers. Every run I get an error on the return function and I am not sure what it is wrong. How should I create the Return variable in TS in order to fit to my returned values from the Python method?
And also is there a way to assign a variable for only one of the returned variable of my method?
Thank you in advance!
05-07-2023 07:21 PM
Google teststand python to get the document
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000fzNhSAI&l=en-US
FYI
10-31-2023 04:49 AM
Hey,
Did you managed to find a solution? I also have a similar challenge 🙂