niScope Error Handler

NI-SCOPE LabVIEW

niScope Error Handler

This VI is either obsolete or included for IVI compliance only. Consider using niScope Error Message instead. This VI takes the error code returned by NI-SCOPE VIs and returns the interpretation as a user-readable string.

You can pass VI_NULL as the instrument handle, which is useful for interpreting errors after niScope Initialize has failed.

instrument handle is the handle that you obtain from niScope Initialize that identifies a particular instrument's session
popup message enables a pop up message when the case is set to Yes

Default Value

No

error in describes error conditions that occur before this VI runs. The default input of this cluster is no error. If an error already occurred, this VI returns the value of error in in error out. The VI runs normally only if no incoming error exists. Otherwise, the VI passes the error in value to error out. The error in cluster contains the following parameters:
status is TRUE if an error occurred; the default is FALSE
code is the error code; the default is 0
source is, in most cases, the name of the VI or function that produced the error; the default is an empty string
instrument handle out has the same value as the instrument handle
error code returns the error code
error description returns the interpreted error code as a user readable message string
error out contains error information; if the error in cluster indicated an error, the error out cluster contains the same information; otherwise, error out describes the error status of this VI
status is set to TRUE if an error occurred
code is the error code
source is, in most cases, the name of the VI or function that produced the error