ClassPrefix Error Message

IVI Driver Help

Edition Date: August 2011

Part Number: 370430H-01

»View Product Info
Download Help (Windows Only)

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 Error Message.

This VI converts a status code returned by an instrument driver into a user-readable string.

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 Code Pass the Status parameter that is returned from any of the instrument driver VIs.

Default Value: 0 (No error)

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.
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.

Error Message Returns a readable message string to you that corresponds to the status code you specify.

WAS THIS ARTICLE HELPFUL?

Not Helpful