NIDMM_ATTR_RANGE

NI-DMM C/CVI/VB

NIDMM_ATTR_RANGE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W Yes niDMM_ConfigureMeasurementDigits
niDMM_ConfigureMeasurementAbsolute

Description

Specifies the measurement range. Use positive values to represent the absolute value of the maximum expected measurement. The value is in units appropriate for the current value of the NIDMM_ATTR_FUNCTION attribute. For example, if NIDMM_ATTR_FUNCTION is set to NIDMM_VAL_DC_VOLTS, the units are volts.

Note  The NI 4050, NI 4060, and NI 4065 only support Auto Range when the trigger and sample trigger are set to IMMEDIATE.

Defined Values

(-1.0)NIDMM_VAL_AUTO_RANGE_ON NI-DMM performs an Auto Range before acquiring the measurement.
(-2.0)NIDMM_VAL_AUTO_RANGE_OFF NI-DMM sets the Range to the current NIDMM_ATTR_AUTO_RANGE_VALUE and uses this range for all subsequent measurements until the measurement configuration is changed.
(-3.0)NIDMM_VAL_AUTO_RANGE_ONCE NI-DMM performs an Auto Range before acquiring the next measurement. The NIDMM_ATTR_AUTO_RANGE_VALUE is stored and used for all subsequent measurements until the measurement configuration is changed.