Admin Production ni-theme
Current Publication

Self-Test

IVI Compliance Package

ClassPrefix Self-Test

IVI Inherent Function

To form the ClassPrefix VI name, use the prefix of the class driver that you are working with. For example, if you are working with the IviDmm class driver, use the prefix IviDmm to create the correct VI name, IviDmm Self-Test.

This VI runs the instrument's self-test routine and returns the test result(s).

instrument handle The instrument handle that you obtain from the ClassPrefix Initialize or ClassPrefix Initialize With Options VI. The handle identifies a particular instrument session.

error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

instrument handle out The instrument handle that you obtain from the ClassPrefix Initialize or ClassPrefix Initialize With Options VI. The handle identifies a particular instrument session.
self test result This control contains the value returned from the instrument self test. Zero means success. For any other code, refer to the device's operator manual.

Numeric result from self-test operation:

0 = no error (test passed)

non-zero = test failed

self-test message Returns the self-test response string from the instrument. Refer to the device's documentation for an explanation of the string's contents.
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.