Download Print this page
National Instruments Instrument Driver NI-DMM Quick Reference
National Instruments Instrument Driver NI-DMM Quick Reference

National Instruments Instrument Driver NI-DMM Quick Reference

Instrument driver

Advertisement

Quick Links

QUICK REFERENCE

NI-DMM Instrument Driver
Initialize and Close
ICON
TYPE
niDMM Initialize
(niDMM_init)
Creates a new session to the instrument.
ViRsrc
ViBoolean
ViBoolean
ViSession*
niDMM Initialize with Options
(niDMM_InitWithOptions)
Creates a new session to the instrument and optionally sets the initial state of
session properties.
ViRsrc
ViBoolean
ViBoolean
ViString
ViSession*
1
In LabWindows™/CVI™, C, and C++, constant names such as NIDMM_VAL_TRUE and
NIDMM_VAL_AUTO_ZERO_ON refer to the use of #defines in your program. In LabVIEW, these constants
refer to Boolean or ring controls with corresponding entries. For example, NIDMM_VAL_AUTO_ZERO_ON
corresponds to the LabVIEW ring control entry Auto Zero On. Refer to LabVIEW Help (Show Help) for
more details.
2
Function name for LabWindows/CVI, C, C++, and Visual Basic.
PARAMETER
2
resourceName
IDQuery
resetDevice
vi
resourceName
IDQuery
resetDevice
Option String
vi
VALUE TO SET, COMMENTS
For Traditional NI-DAQ devices, use DAQ:: # ,
where # is the device number.
For NI-DAQmx devices, the device name is
assigned by Measurement & Automation
Explorer (MAX). Optionally, for all devices
you can use an IVI logical name.
NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
Reference to new session handle
For Traditional NI-DAQ devices, use DAQ:: # ,
where # is the device number.
For NI-DAQmx devices, the device name is
assigned by Measurement & Automation
Explorer (MAX). Optionally, for all devices
you can use an IVI logical name.
NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
Simulate = 0, RangeCheck = 1
QueryInstrStatus = 1, Cache = 1
Reference to new session handle
1

Advertisement

loading

Summary of Contents for National Instruments Instrument Driver NI-DMM

  • Page 1: Quick Reference

    QUICK REFERENCE NI-DMM Instrument Driver Initialize and Close ICON TYPE niDMM Initialize (niDMM_init) Creates a new session to the instrument. ViRsrc ViBoolean ViBoolean ViSession* niDMM Initialize with Options (niDMM_InitWithOptions) Creates a new session to the instrument and optionally sets the initial state of session properties.
  • Page 2: Measurement Options

    Initialize and Close (continued) ICON TYPE niDMM Close (niDMM_close) Closes the current session to the instrument. ViSession Configure ICON TYPE niDMM Configure Measurement Digits (niDMM_ConfigureMeasurementDigits) Configures the common properties of the measurement. ViSession ViInt32 ViReal64 ViReal64 niDMM Configure Multi Point (niDMM_ConfigureMultiPoint) Configures the properties for multipoint measurements.
  • Page 3 Configures the current source for diode measurements on the NI 4070/4071/4072. ViSession ViReal64 niDMM Configure Waveform Coupling (niDMM_ConfigureWaveformCoupling) Configures instrument coupling for voltage waveforms on the NI 4070/4071/4072. ViSession ViInt32 © National Instruments Corporation PARAMETER VALUE TO SET, COMMENTS Session handle AutoZero Default = Auto Session handle ADC Calibration...
  • Page 4 Capacitance and Inductance ICON TYPE niDMM Configure Cable Comp Type (niDMM_ConfigureCableCompType) Sets the Cable Compensation Type property for the current capacitance/inductance mode range on the NI 4072. ViSession ViInt32 niDMM Configure Open Cable Comp Values (niDMM_OpenCableCompValues) Configures the Open Cable Comp Conductance and Open Cable Comp Susceptance properties on the NI 4072.
  • Page 5 ViSession ViInt32 niDMM Configure Meas Complete Slope (niDMM_ConfigureMeasCompleteSlope) Sets the MC signal to either rising edge or falling edge polarity. ViSession ViInt32 © National Instruments Corporation PARAMETER VALUE TO SET, COMMENTS Session handle Trigger Source Default = Immediate Trigger Delay...
  • Page 6: Actual Values

    Actual Values ICON TYPE niDMM Get Auto Range Value (niDMM_GetAutoRangeValue) Returns the actual range that the DMM is using, even when auto ranging is off. ViSession ViReal64* niDMM Get Aperture Time Info (niDMM_GetApertureTimeInfo) Returns the aperture time and aperture time units. ViSession ViReal64* ViInt32*...
  • Page 7 Fetch Multi Point (niDMM_FetchMultiPoint) Returns an array of values from a previously initiated multipoint measurement. ViSession ViInt32 ViInt32 ViReal64[ ] ViInt32* © National Instruments Corporation PARAMETER VALUE TO SET, COMMENTS Session handle Maximum Time Milliseconds Number to Read Default = 1...
  • Page 8 Low-Level Acquisition (continued) ICON TYPE niDMM Fetch Waveform (niDMM_FetchWaveform) Acquires an array of data from a waveform on the NI 4070/4071/4072. ViSession ViInt32 ViInt32 ViReal64[ ]* ViInt32* niDMM Read Status (niDMM_ReadStatus) Returns measurement backlog and acquisition status on the NI 4060 and NI 4070/4071/4072.
  • Page 9 NI 4070/4071/4072. ViSession niDMM Get Cal Count (niDMM_GetCalCount) Returns the calibration count for the specified type of calibration. ViSession ViInt32 ViInt32* © National Instruments Corporation PARAMETER VALUE TO SET, COMMENTS Function DC volts, AC volts, and so on Range Input Resolution...
  • Page 10 Calibration (continued) ICON TYPE niDMM Get Dev Temp (niDMM_GetDevTemp) Returns the current temperature of the NI 4070/4071/4072. ViSession ViString ViReal64* niDMM Get Last Cal Temp (niDMM_GetLastCalTemp) Returns the temperature during the last calibration procedure on the NI 4070/4071/4072. ViSession ViInt32 ViReal64* niDMM Get Cal Date and Time (niDMM_GetCalDateAndTime)
  • Page 11 DMM Programming Flow © National Instruments Corporation © National Instruments Corporation NI-DMM Instrument Driver Quick Reference...
  • Page 12 National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on for more information about National Instruments trademarks. ni.com/legal Other product and company names mentioned herein are trademarks or trade names of their respective companies.

This manual is also suitable for:

Ni-dmm