08-01-2016 06:43 AM
Hi,
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
08-02-2016 12:05 AM
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
http://www.ni.com/white-paper/9366/en/
Cheers,
RAO
08-02-2016 12:45 AM
08-02-2016 01:05 AM
08-02-2016 05:36 AM
Hi Amit,
Try going through
http://zone.ni.com/reference/en-XX/help/372846G-01/vsnetapis/bp_vsnetapis/
and
http://pythonnet.sourceforge.net/readme.html
Cheers,
Rao
08-03-2016 03:44 AM - edited 08-03-2016 03:45 AM
Depending on your version of windows, you should have 'NIVeriStand.py' 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\
08-03-2016 11:55 PM
Hi Amit,
Did you find the suitable files, mentioned by UKCraig?
Cheers,
Rao
08-04-2016 12:18 AM
08-08-2016 04:10 AM
for cPython I recommend pythonnet (example attached) or older library: https://github.com/NIVeriStandAdd-Ons/cPython-Interface-for-NI-VeriStand
CLA, CTA