NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand IO architecture

As a newcomer to TestStand, I am currently working on an automated system project that involves several NI Interface cards, such as Digital IO, DMM, Oscilloscope, etc. The system also includes external buttons for user interaction. Your primary goal is to create a user-friendly interface where the operator can initiate specific actions with the press of these buttons, simplifying the automated process.

One of the desired functionalities is to allow the user to take a current reading using the DMM card on the PXIe chassis. To accomplish this, a Python script with VISA libraries is available, which can read the current. Your task is to integrate this Python script with TestStand, so when the user presses the external button on the station, TestStand responds by executing the Python script, displaying the current reading, and logging that data for further analysis.

I want it ensure a seamless and efficient workflow that empowers the user to interact with the automated system effortlessly. My request is for guidance on how to implement this integration between TestStand and the Python script, enabling easy and reliable current readings for the user. Other with Labview too.

0 Kudos
Message 1 of 2
(509 Views)

Hi,

One option is to use the TestStand User Interface.The basic code is available in different languages :

https://www.ni.com/en/support/documentation/supplemental/08/teststand-user-interface-development-bes...

You may need to modify the basic code to suit your requirements.

 

One more option is the following :

Develop TestStand sequences which does a  specific task,displays data and also store the result. ( the one which needs to be done on a button press).The sequence can call Python scripts using the Python adapter.

Develop a GUI in any language and use command interface options to directly execute this sequence.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9lvSAC&l=en-IN

 

Ravi

0 Kudos
Message 2 of 2
(390 Views)