niDMM Configure Auto Zero

niDMM VIs

niDMM Configure Auto Zero

Configures the DMM for auto zero. When Auto Zero is ON, the DMM internally disconnects the input and takes a zero reading. It then subtracts the zero reading from the measurement. This prevents offset voltages present on the input circuitry of the DMM from affecting measurement accuracy. When Auto Zero is OFF, the DMM does not compensate for zero reading offset.

niDMM Configure Auto Zero

cio.gif

instrument handle identifies a particular instrument session.

You obtain the instrument handle parameter from niDMM Initialize or niDMM Initialize With Options. The default is None.

ci32.gif

Auto Zero specifies the Auto Zero setting.

ON enables Auto Zero for each measurement. ONCE enables Auto Zero before the next measurement. The Auto Zero value is stored and used in subsequent measurements until the device is reconfigured. OFF disables Auto Zero. If you set Auto Zero to AUTO, NI-DMM determines whether to enable Auto Zero based on the measurement function that you configure.

If you configure the NI 4070/4071/4072 for a 6 1/2 digit and greater resolution DC measurement, NI-DMM sets Auto Zero to ON. For all other DC measurement configurations on the NI 4070/4071/4072, NI-DMM sets Auto Zero to ONCE. For all AC measurements or waveform acquisitions on the NI 4070/4071/4072, NI-DMM sets Auto Zero to OFF.

NI 4050/4060 devices, Auto Zero is set to OFF when AUTO is selected.

For NI 4065 devices, Auto Zero is always ON. Auto Zero is an integral part of the signal measurement phase and adds no extra time to the overall measurement.

Auto (default) -1 NI-DMM chooses the Auto Zero setting based on the configured function and resolution.
Off 0 Disables Auto Zero.
Note  The NI 4065 does not support this setting.
On 1 The DMM internally disconnects the input signal following each measurement and takes a zero reading. It then subtracts the zero reading from the preceding reading.
Note  For NI 4065 devices, Auto Zero is always ON. Auto Zero is an integral part of the signal measurement phase and adds no extra time to the overall measurement.
Once 2 The DMM internally disconnects the input signal following each measurement and takes a zero reading. It then subtracts the zero reading from the preceding reading.
Note  The NI 4060/4065 does not support this setting.
ccclst.gif

error in (no error) describes error conditions that occur before this VI runs. If an error occurred before this VI runs, the VI passes the error in value to error out. This VI runs normally only if no error occurs before this VI runs. If an error occurs while this VI runs, it continues and sets its own error status in error out. Use niDMM Error Message to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

iio.gif

instrument handle out returns a handle that you use to identify the instrument in all subsequent instrument driver VI calls.

icclst.gif

error out contains error information. If error in indicates that an error occurred before this VI ran, error out contains the same error information. Otherwise, it describes the error status that this VI produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.