How Can I Simulate a NI DMM to Use in LabVIEW?

Updated Feb 19, 2020

Reported In

Hardware

  • USB-4065
  • PXIe-4081

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

Driver

  • NI-DMM
  • NI-DAQmx

Issue Details

I want to simulate an DMM such as USB-4065 in NI Measurement and Automated Explorer (NI MAX) but I can't make a test panel.

Solution

Test Panels are not supported by DMMs in NI MAX. You can simulate a DMM such as a USB-4065 in NI MAX and then interface with the simulated device in LabVIEW. This requires that you have the NI-DMM driver installed. 
 
To create the simulated device in NI MAX see tutorial NI-DAQmx Simulated Devices

You can build a LabVIEW VI to interface with the simulated DMM. The NI-DMM driver installs a library of LabVIEW functions you can use to build a program such as "DMM Read.vi". Example code can be found under Help>Find Examples...  and browsing to Hardware Input and Output> Modular Instruments>NI-DMM .
 

Additional Information

Not all DMMs are supported the simulation in NI-MAX, for the following models, you can simulate them in LabVIEW using the niDMM Initialize With Options function of the NI-DMM driver as described in Simulating NI Digital Multimeters.
ModelBoard Type
4065PXI, PCI, PCIe, USB
4070PXI, PCI
4071PXI
4072PXI
4080PXIe
4081PXIe
4082PXIe