niDMM_GetAutoRangeValue

NI-DMM C/CVI/VB

niDMM_GetAutoRangeValue

ViStatus = niDMM_GetAutoRangeValue(ViSession Instrument_Handle, ViReal64 *Actual_Range)

Purpose

Returns the Actual_Range that the DMM is using, even when Auto Range is off.

Parameters

Input
Name Type Description
Instrument_Handle ViSession Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None.
Output
Name Type Description
Actual_Range ViReal64* Indicates the Actual_Range the DMM is using. Returns the value of the NIDMM_ATTR_AUTO_RANGE_VALUE attribute. The units of the returned value depend on the function.

Return Value

Name Type Description
Status ViStatus Reports the Status of this operation. To obtain a text description of the status code, call niDMM_error_message. To obtain additional information concerning the error condition, use niDMM_GetError.