background image

QUICK REFERENCE 

NI-DMM Instrument Driver

Initialize and Close

ICON

TYPE 

PARAMETER

VALUE TO SET, COMMENTS

1

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

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 Initialize

2

(niDMM_init)

Creates a new session to the instrument.

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.  

322614f.qxp  11/23/2004  10:13 AM  Page 1

Summary of Contents for Instrument Driver NI-DMM

Page 1: ...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 Refer...

Page 2: ...te ViInt32 WaveformPoints Measurement Options ICON TYPE PARAMETER VALUE TO SET COMMENTS ViSession vi Session handle ViReal64 Powerline Default 60 Hz Frequency niDMM Configure Powerline Frequency niDMM...

Page 3: ...entSource Configures the current source for diode measurements on the NI 4070 4071 4072 niDMM Configure Frequency Voltage Range niDMM_ConfigureFrequencyVoltageRange Specifies the expected maximum ampl...

Page 4: ...e values on the NI 4072 niDMM Perform Open Cable Comp niDMM_PerformOpenCableComp Performs the open cable compensation measurements and returns open cable compensation conductance and susceptance value...

Page 5: ...to either rising edge or falling edge polarity niDMM Configure Meas Complete Dest niDMM_ConfigureMeasCompleteDest Specifies the destination of the Measurement Complete MC signal niDMM Configure Sampl...

Page 6: ...s ViInt32 Number to Read Default 4 ViReal64 Measurements Output ViInt32 Actual Number Output niDMM Read Multi Point niDMM_ReadMultiPoint Acquires multiple measurements and returns an array of measured...

Page 7: ...surements Output ViInt32 Actual Number Output niDMM Fetch Multi Point niDMM_FetchMultiPoint Returns an array of values from a previously initiated multipoint measurement niDMM Fetch niDMM_Fetch Return...

Page 8: ...are Revision Output niDMM Revision Query niDMM_revision_query Returns the revision numbers of the instrument driver and instrument firmware niDMM Self Test niDMM_self_test Performs a self test on the...

Page 9: ...nal ViInt32 Count Output niDMM Get Cal Count niDMM_GetCalCount Returns the calibration count for the specified type of calibration niDMM Self Cal niDMM_SelfCal Executes the self calibration routine to...

Page 10: ...put ViInt32 Year Output ViInt32 Hour Output ViInt32 Minute Output niDMM Get Cal Date and Time niDMM_GetCalDateAndTime Returns the date and time of the last calibration performed on the NI 4070 4071 40...

Page 11: ...nts Corporation 11 NI DMM Instrument Driver Quick Reference National Instruments Corporation Initialize Configure Hardware Read Close Session Initiate Fetch DMM Programming Flow 322614f qxp 11 23 2004...

Page 12: ...ther product and company names mentioned herein are trademarks or trade names of their respective companies For patents covering National Instruments products refer to the appropriate location Help Pa...

Reviews: