09-30-2025 05:17 AM
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
10-01-2025 07:22 AM
10-01-2025 08:10 AM
@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...
10-01-2025 12:28 PM
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.
10-15-2025 09:25 AM - edited 10-15-2025 09:26 AM
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. |
| 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 :
Ressources : Getting Started with TestStand - NI
TestStand Example Programs - NI
Souha