niDMM_IsOverRange

NI-DMM C/CVI/VB

niDMM_IsOverRange

ViStatus = niDMM_IsOverRange(ViSession Instrument_Handle, ViReal64 Measurement_Value, ViBoolean *Is_Over_Range)

Purpose

Takes a Measurement_Value and determines if the value is a valid measurement or a value indicating that an overrange condition occurred.

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.
Measurement_Value ViReal64 The measured value returned from the DMM.
Note   If an overrange condition occurs, the Measurement_Value contains an IEEE-defined NaN (Not a Number) value.
Output
Name Type Description
Is_Over_Range ViBoolean* Returns whether the measurement value is a valid measurement or an overrange condition.

VI_TRUE 1 The value indicates that an overrange condition occurred.
VI_FALSE 0 The value is a valid measurement.

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.