ViRsrcresourceNameFor Traditional NI-DAQ devices, use DAQ::#,
ViBooleanIDQueryNIDMM_VAL_TRUE
ViBooleanresetDeviceNIDMM_VAL_TRUE
ViSession*viReference to new session handle
niDMM Initialize with Options
(niDMM_InitWithOptions)
Creates a new session to the instrument and optionally sets the initial state of
session properties.
ViRsrcresourceNameFor Traditional NI-DAQ devices, use DAQ::
ViBooleanIDQueryNIDMM_VAL_TRUE
ViBooleanresetDeviceNIDMM_VAL_TRUE
ViStringOption StringSimulate = 0, RangeCheck = 1
ViSession*viReference to new session handle
2
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_FALSE
NIDMM_VAL_FALSE
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_FALSE
NIDMM_VAL_FALSE
QueryInstrStatus = 1, Cache = 1
1
#
,
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.
Initialize and Close (continued)
ICONTYPEPARAMETERVALUE TO SET, COMMENTS
niDMM Close
(niDMM_close)
Closes the current session to the instrument.
ViSessionviSession handle
Configure
ICONTYPEPARAMETERVALUE TO SET, COMMENTS
niDMM Configure Measurement Digits
(niDMM_ConfigureMeasurementDigits)
Configures the common properties of the measurement.
ViSessionvi Session handle
ViInt32FunctionDC volts, AC volts, and so on
ViReal64Range
ViReal64Resolution in Digits
niDMM Configure Multi Point
(niDMM_ConfigureMultiPoint)
Configures the properties for multipoint measurements.
ViSession vi Session handle
ViInt32Trigger Count Default = 1
ViInt32 Sample Count Default = 1
ViInt32 Sample Trigger Immediate, External, TTL0, and so on
ViReal64 Sample Interval Default = Auto
niDMM Configure Waveform Acquisition
(niDMM_ConfigureWaveformAcquisition)
Configures the NI 4070/4071/4072 for waveform acquisitions.
ViSessionvi Session handle
ViInt32 Function Voltage Waveform, Current Waveform
ViReal64 Range
ViReal64 Rate
ViInt32 WaveformPoints
Measurement Options
ICONTYPEPARAMETERVALUE TO SET, COMMENTS
niDMM Configure Powerline Frequency
(niDMM_ConfigurePowerLineFrequency)
Specifies the powerline frequency.
ViSession vi Session handle
ViReal64 Powerline Default = 60 Hz
NI-DMM Instrument Driver Quick Reference
Frequency
2ni.com
Measurement Options (continued)
ICONTYPEPARAMETERVALUE TO SET, COMMENTS
niDMM Configure Auto Zero
(niDMM_ConfigureAutoZeroMode)
Configures the DMM for Auto Zero.
ViSession viSession handle
ViInt32 AutoZeroDefault = Auto
niDMM Configure ADC Calibration
(niDMM_ConfigureADCCalibration)
Allows the NI 4070/4071/4072 to compensate for gain drift since the last external or
self-calibration.
ViSession viSession handle
ViInt32 ADC Calibration Default = Auto
niDMM Configure Offset Comp Ohms
(niDMM_ConfigureOffsetCompOhms)
Allows the NI 4070/4071/4072 to compensate for voltage offsets in resistance
measurements.
ViSession vi Session handle
ViInt32 Offset Compensated Default = Off
niDMM Configure AC Bandwidth
(niDMM_ConfigureACBandwidth)
Configures the Min Frequency and Max Frequency properties that the DMM uses
for AC measurements.
ViSessionviSession handle
ViReal64 Minimum Frequency Hz
ViReal64 Maximum Frequency Hz
niDMM Configure Frequency Voltage Range
(niDMM_ConfigureFrequencyVoltageRange)
Specifies the expected maximum amplitude of the input signal for frequency and
period measurements on the NI 4070/4071/4072.
ViSession vi Session handle
ViReal64 Frequency Voltage Default = AutoRange
niDMM Configure Current Source
(niDMM_ConfigureCurrentSource)
Configures the current source for diode measurements on the NI 4070/4071/4072.
ViSessionviSession handle
ViReal64 Current Source Default = 1.00 mA
niDMM Configure Waveform Coupling
(niDMM_ConfigureWaveformCoupling)
Configures instrument coupling for voltage waveforms on the NI 4070/4071/4072.