Example Code

Teststand Hybrid QMH architecture

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • G Web Development Software
  • LabVIEW
  • Teststand

Code and Documents

Attachment

Description

The Hybrid QMH architecture in Teststand allows you to run different scripts for each command.

Every command is natively logged and can be expanded by both experts and novices.

 

The intention of this architecture is to use Teststand as scripting platform. Here expert users can extend functionality easily without having to go through the software departement for quick adjustments.

 

The example also contains the GLA summit presentation where this architecture was presented.

How to Use

  1. Start the HTTP server in the driver project.
  2. Launch the motortester sequence in Teststand.
  3. Launch the UI VI.
  4. Launch the Testbench dashboard.

 

Altering values in the UI will be reflected in the dashboard.

Launching a test sequence in the UI like the ramptest will cause values in the dashboard to change.

 

(Note: You will need to create a new station global called "StationGlobals.ServerURL" wich containt the base URL to the server. If running the debug server this is: "http://127.0.0.1:8001/RestHTTPQueue"

Surely not everyone was kungfu fighting.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.