ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example is a great tool to quickly acquire data from your NI-DMM.
Description
Use this example code to easily acquire and save data from you NI-DMM hardware. You can also view the data in a waveform graph and in an array while the program is running.
Requirements
Software
LabVIEW 2012(or compatible)
NI-DMM driver which is compatible with your hardware and version of LabVIEW
Hardware
NI-DMM Device
Steps to Implement or Execute Code
Additional Information or References

**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
As a new user of NI-DMM USB-4065 and LabView 2014, I found this very useful. However, I'm having trouble adding in a condition and I was hoping someone could help. So currently, I have it set to read the DC Current (amps) and write to an excel spreadsheet. However, I need to set the condition to write to a spreadsheet until the current reads 0. I tried putting an "or" boolean in between the NI-DMM/Switch Express and write to measurement file, but I'm getting an error. I don't think I'm understanding enough to create this condition. Any help would be appreciated!
@Blizzard wrote:
Overview
This example is a great tool to quickly acquire data from your NI-DMM.
Description
Use this example code to easily acquire and save data from you NI-DMM hardware. You can also view the data in a waveform graph and in an array while the program is running.
Requirements
Software
LabVIEW 2012(or compatible)
NI-DMM
Hardware
NI-DMM
Steps to Implement or Execute Code
- Open the example VI and configure the NI-DMM Switch Express VI to acquire data from your hardware
- Configure the Write to Measurement VI to save the file in your desired location and format
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**