From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Class Instances Help in Teststand

Solved!
Go to solution

Hello, 

 

I am using Teststand 2017 with the NI Python Steps for Teststand. 

 

I was just wondering how could I use these steps to create an instance of a python class, pass in some arguments and then be able to call functions from that specific instance later on in my Teststand sequence. 

 

Thank you for your help

 

 

0 Kudos
Message 1 of 2
(2,863 Views)
Solution
Accepted by topic author filipb23

Hey,

 

Check out the Python step types example located at C:\Users\Public\Documents\National Instruments\TestStand 2017 (64-bit)\Examples\Custom Step Types\Python Step Types and specifically take a look at the Passing Data to Python.seq. It demonstrates and example of what you're looking for. 

 

Thanks,

Roxy 

Message 2 of 2
(2,848 Views)