niDMM Self-Test

niDMM VIs

niDMM Self-Test

Performs a self test on the DMM to ensure that the DMM is functioning properly. Self test does not calibrate the DMM.

This VI calls niDMM Reset, and any configurations previous to the call will be lost. All properties will be set to their default values after the call returns.

niDMM Self-Test

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.

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.

ii16.gif

Self Test Result contains the value returned from the instrument self test. Zero indicates success.

On the NI 4070/4072, the error code 1013 indicates that you should check the fuse and replace it, if necessary.

Note   Self-test does not check the fuse on the NI 4065 and NI 4071. Hence, even if the fuse is blown on the NI 4065 or NI 4071, self-test does not return error code 1013.
istr.gif

Self Test Message contains the string returned from the instrument self-test. The array must contain at least 256 elements.

For the NI 4050 and NI 4060, the error codes returned for self-test failures include the following:

  • NIDMM_ERROR_AC_TEST_FAILURE
  • NIDMM_ERROR_DC_TEST_FAILURE
  • NIDMM_ERROR_RESISTANCE_TEST_FAILURE

These error codes indicate that the DMM should be repaired.

For the NI 4065 and NI 4070/4071/4072, the error code returned for a self-test failure is NIDMM_ERROR_SELF_TEST_FAILURE. This error code indicates that the DMM should be repaired.

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.