QUICK REFERENCE

NI-DMM Instrument Driver

Initialize and Close

ICON TYPE PARAMETER VALUE TO SET, COMMENTS1
ViRsrc resourceName For Traditional NI-DAQdevices, 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 IVIlogical name.
ViBoolean IDQuery NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
ViBoolean resetDevice NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
ViSession* vi Reference to new session handle
ViRsrc resourceName 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.
ViBoolean IDQuery NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
ViBoolean resetDevice NIDMM_VAL_TRUE
NIDMM_VAL_FALSE
ViString Option String Simulate = 0, RangeCheck = 1
QueryInstrStatus = 1, Cache = 1
ViSession* vi Reference 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.
niDMM Initialize2
(niDMM_init)
Creates a new session to the instrument.
1 In LabWindows™/CVI™, C, and C++, constant names such as NIDMM_VAL_TRUE andNIDMM_VAL_AUTO_ZERO_ON refer to the use of #defines in your program. In LabVIEW, these constantsrefer to Boolean or ring controls with corresponding entries. For example, NIDMM_VAL_AUTO_ZERO_ONcorresponds to the LabVIEW ring control entry Auto Zero On. Refer to LabVIEW Help (Show Help) formore details.2 Function name for LabWindows/CVI, C, C++, and Visual Basic.
322614f.qxp 11/23/2004 10:13 AM Page 1