This directory contains the following example measurements:
CancellableMeasurement
: Demonstrates a simple measurement that takes a specified length of time and can be cancelled while it is running.Keysight 34401A DMM Measurement
: Performs a DMM measurement using an HP/Agilent/Keysight 34401A DMM.NI-DCPower Source DC Voltage
: Sources and measures a DC voltage with an NI SMU.UIProgressUpdates
: Generates random numbers and updates the measurement UI to show progress.
For more details about a specific example, see the README.md
file included with the example.
To run the example measurement, follow these steps
- Open the LabVIEW project (.lvproj) file for the example.
- For examples that use a packed library for the LabVIEW UI, you must first build the packed library build specification.
- Open and Run the following VI to run the measurement service:
Run Service.vi
- For examples that use a pin map, the name of the device in NI MAX must match the name of the device in the pin map.
- For examples that have a TestStand sequence, the LabVIEW adapter configuration must be set to use the LabVIEW development system. See the TestStand help for more details.
Click the Stop button on the front panel of Run Service.vi
.
Measurement logic for the measurements is contained in Measurement Logic.vi
.
The User Interface is defined by Measurement UI.vi
. The control and indicator names in the User Interface should match the Measurement Configuration
and Measurement Results
. If the datatype and name matches, then the data from the UI will
be sent to the logic before execution and the results will be published to UI after the measurement is run.