IviDmm_ConfigureAutoZeroMode
IviDmmAutoZero Capability Group
C Function Prototype
ViStatus IviDmm_ConfigureAutoZeroMode (ViSession vi ViInt32 autoZeroMode);
Purpose
This function configures the auto-zero mode of the DMM. When the auto-zero mode is enabled, the DMM internally disconnects the input signal and takes a Zero Reading. The DMM then subtracts the Zero Reading from the measurement, which prevents offset voltages present in the instrument's input circuitry from affecting measurement accuracy.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviDmm_init or IviDmm_InitWithOptions functions. The handle identifies a particular IVI session. |
autoZeroMode | ViInt32 | Specifies the auto-zero mode. The driver sets the IVIDMM_ATTR_AUTO_ZERO attribute to this value.
Defined Values: IVIDMM_VAL_AUTO_ZERO_ON (Default)—Configures the DMM to take a Zero Reading for each measurement. The DMM subtracts the Zero Reading from the value it measures. IVIDMM_VAL_AUTO_ZERO_OFF—Disables the auto-zero feature. IVIDMM_VAL_AUTO_ZERO_ONCE—Configures the DMM to take a Zero Reading immediately. The DMM then subtracts this Zero Reading from all subsequent values it measures. |