niDMM_IsUnderRange
ViStatus = niDMM_IsUnderRange(ViSession Instrument_Handle, ViReal64 Measurement_Value, ViBoolean *Is_Under_Range)
Purpose
Takes a Measurement_Value and determines if the value is a valid measurement or a value indicating that an underrange 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_Under_Range |
ViBoolean* |
Returns whether the Measurement_Value is a valid measurement or an underrange condition.
| VI_TRUE |
1 |
The value indicates that an underrange 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. |