Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

NI-DMM Simulated Devices

Hardware: Modular Instruments>>Digital Multimeters (DMM)

Problem:
I would like to program using the NI-DMM driver but do not yet have the hardware. How can I simulate the device so that I can test my programming?

Solution:
The NI-DMM driver allows you to simulate a device so that you can run your application without the hardware present.

Note: For NI-DMM 2.9 and above you can simulate a DMM in MAX under NI-DAQmx Devices. If you are using NI-DMM 2.8 and earlier please follow the steps below.
  1. Initialize the NI-DMM task with an niDMM Initialize with Options.
  2. Create a control on the Options String.
  3. Change the Simulate=0 section to Simulate=1.
See the screenshot below for an example of this code.

By Default only a subset of the simulation settings will be available in the options string.  In order to simulate specific DMM modles and select the appropriate BUS type, the following strings can be used to access these settings.

The following table indicates all the Supported Combinations of DMM Model and Bus Type.

A full description of the initialize with options can be found in the NI-DMM Help.

Related Links:
Products and Service: NI Digital Multimeters (DMMs) and LCV Meters Home
Product Reference: NI Digital Multimeters Help (June 2008)

Attachments:





Report Date: 04/26/2007
Last Updated: 05/27/2009
Document ID: 48PEI084

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit