niDMM_ConfigureADCCalibration
ViStatus = niDMM_ConfigureADCCalibration(ViSession Instrument_Handle, ViInt32 ADC_Calibration)
Purpose
For the NI 4070/4071/4072 only, allows the DMM to compensate for gain drift since the last external calibration or self-calibration. When ADC_Calibration is ON, the DMM measures an internal reference to calculate the correct gain for the measurement. When ADC_Calibration is OFF, the DMM does not compensate for changes to the gain.
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. | ||||||||||||
ADC_Calibration | ViInt32 | Specifies the ADC_Calibration setting. The driver sets
NIDMM_ATTR_ADC_CALIBRATION to this value.
NIDMM_VAL_ADC_CALIBRATION_ON enables ADC_Calibration. NIDMM_VAL_ADC_CALIBRATION_OFF disables ADC_Calibration. If you set the value to NIDMM_VAL_ADC_CALIBRATION_AUTO, the driver determines whether to enable ADC_Calibration based on the measurement function and resolution that you configure. If you configure the NI 4070/4071/4072 for a 6½–digit and greater resolution DC measurement, the driver enables ADC Calibration. For all other measurement configurations, the driver disables ADC_Calibration.
|
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. |