Showing results for 
Search instead for 
Did you mean: 

Ni VeriStand Automation from Python/C/C++


I have NI VeriStand installed and project created. I need to automate it from using one of the programming language. Please direct me to some documentation/ sample programs.


Thank you,

Amit Saste

0 Kudos
Message 1 of 9

Hi Amit,


NI VeriStand provides a .NET-based API for the Workspace and the System Explorer that you can use to create custom interfaces for NI VeriStand or to implement automation of the configuration and/or operation of NI VeriStand applications. For example, you can use the System Explorer API library to create a custom configuration window that limits the changes a user can make to an NI VeriStand application or to simplify the configuration process by making it possible to specify the application parameters in a spreadsheet. Additionally, you can use the Workspace API library to automate the operation of an NI VeriStand application or to create a completely custom run-time interface. These .NET-based APIs can be used by LabVIEW, NI TestStand, and a variety of other environments capable of using .NET interfaces.


In conclusion calling these .NET interfaces in the other environments is what you'll have to look into.


Check out the following link for more info




0 Kudos
Message 2 of 9
Python for .Net supports importing .NET APIs for VeriStand. I do not have TestStand. So option for me is to write automation code in Python and call VeriStand APIs directly into Python. Can I execute Python code directly to interact with VeriStand?
0 Kudos
Message 3 of 9
I believe NI VeriStand ships with a python library designed to be used in IronPython that wraps the execution API. I have installed VeriStand 2013 SP1 but I do not see this library in installation directory. Can you guide me where should I get it?
0 Kudos
Message 4 of 9
0 Kudos
Message 5 of 9

Depending on your version of windows, you should have '' in one of the following locations:

C:\Users\Public\Documents\National Instruments\NI VeriStand 2013\IronPython\
C:\Documents and Settings\All Users\Documents\National Instruments\NI VeriStand 2013\IronPython\

Message 6 of 9

Hi Amit,


Did you find the suitable files, mentioned by UKCraig?




0 Kudos
Message 7 of 9
Thanks. I got in the public folder.
0 Kudos
Message 8 of 9

for cPython I recommend pythonnet (example attached) or older library: 



0 Kudos
Message 9 of 9