LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to automate labview application with Teststand?

Hi, I have written an labview code for controlling the power supplies using QMH architecture. Now i need to automate it using teststand. I don't have any experience in teststand. Could you please direct me how can this be performed?are there any other ways of doing it? Thank you

0 Kudos
Message 1 of 5
(294 Views)

https://youtu.be/W4H4vBh0hx4?si=xf_fo0BZpEBW7ZdE

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 5
(267 Views)

@gorapr wrote:

Hi, I have written an labview code for controlling the power supplies using QMH architecture. Now i need to automate it using teststand. I don't have any experience in teststand. Could you please direct me how can this be performed?are there any other ways of doing it? Thank you


Copied from reddit: https://www.reddit.com/r/LabVIEW/comments/1npal5m/how_to_automate_labview_application_with_teststand... 

0 Kudos
Message 3 of 5
(258 Views)

Are you using DQMH or just the standard QMH? If you used plain QMH then it is hard to do because everything is based on a main UI. You would be better off creating vis that communicate and control the power supply and then use those in teststand. If you used DQMH then you can look at the example project and it will show you how.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 5
(242 Views)

Hello,

 

You can automate your LabVIEW QMH application using NI TestStand. Here’s a clear roadmap to get you started.

 

Step Action Details/Resources
1 Install TestStand TestStand Download & Install
2 Create LabVIEW Code Modules Break your QMH logic into VIs that perform specific actions (e.g., Set Voltage, Read Current).
3 Build a TestStand Sequence In TestStand, create a new sequence and add steps that call your LabVIEW VIs.
4 Configure LabVIEW Adapter Set the LabVIEW adapter to use the correct LabVIEW version (2025 Q3).
5 Pass Data Between TestStand and LabVIEW Use TestStand parameters to send/receive data to/from your VIs.
6 Run and Debug Execute the sequence, monitor results, and debug as needed.

Key concepts :

Concept Description
Code Module A VI or function called by TestStand as a step.
Sequence A list of steps (actions, checks, etc.) that make up your test procedure.
Adapter The interface TestStand uses to call LabVIEW, C/C++, .NET, etc.
Parameters

Data passed between TestStand and your VIs (inputs/outputs).

 

Some details to consider : 

  • Not modularizing your QMH logic: TestStand works best when you break your code into small, reusable VIs.
  • Ignoring data types: Make sure your TestStand parameters match your LabVIEW VI connector pane.
  • Not configuring the LabVIEW adapter: Always set the adapter to the correct LabVIEW version.

Ressources : Getting Started with TestStand - NI

Fundamentals - NI

TestStand Example Programs - NI

 

Souha

 

0 Kudos
Message 5 of 5
(167 Views)