Example Code

NI-DMM Switch Express to Acquire Data

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.

    Hardware

  • Modular Instrumentation

    Software

  • LabVIEW

Code and Documents

Attachment

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

  1. Open the example VI and configure the NI-DMM Switch Express VI to acquire data from your hardware
  2. Configure the Write to Measurement VI to save the file in your desired location and format

Additional Information or References

DMM.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Applications Engineer
National Instruments

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

Comments
eyeung
Member
Member
on

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

  1. Open the example VI and configure the NI-DMM Switch Express VI to acquire data from your hardware
  2. Configure the Write to Measurement VI to save the file in your desired location and format

Additional Information or References

DMM.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**