NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Modules

Hi,

I am using the TestStand Python Adapters for controlling an Excel Report like this:

 

Zuc_lab2_0-1764600660403.png

 

The problems come to the Error management. I have read that TestStand passes the Containers to python as reference so I have supposed that a dictionary (instead of a tuple) can be a good solution to handle the error. Moreover, I have the same structures for .NET calls where I see this:

 

Zuc_lab2_1-1764600660405.png

 

InitializeSession(UInt32, System.String, System.String, Int32, Boolean ByRef, Int32 ByRef, System.String ByRef)

 

But when I run the my sequence the following error arises:

 

Zuc_lab2_2-1764600660407.png

 

What is the problem?

I have also configured the debugger pointing at the python.exe but I do not go inside the code:

 

Zuc_lab2_3-1764600660408.png

 

 

Is there anyone who has already info on how to share data between python and teststand?

 

Versions: Teststand 2022, Python 3.10

 

Thank you for the help,

 

Zuc

0 Kudos
Message 1 of 1
(49 Views)