Chapter4 Programmingwith NI-IMAQ for 1394 VIs
©NationalInstruments Corporation 4-13 NI-IMAQfor IEEE-1394 Cameras User Manual
Error Code FormatErrorformat for all NI-IMAQ for 1394 VIs isthe same,as follow s:
errorin (no error) is a cluster that describes the error status before this VI
executes.If error in indicates that an error occurred before this VI was
called,this VI may choose not to execute its function, but just pass the error
through toits error out cluster.If no error has occurred, then this VI
executesnormally and sets its own error status in error out. Use the error
handlerVIs to look up the error code and to display the corresponding error
message. Using error in and error out clusters is a convenient wayto
checkerrors and to specify execution order by wiring the error output from
one subVI to the error input of the next.
statusis TRUE if an error occurred before this VI was called, or
FALSEif not. If status is TRUE, code is a non-zero error code. If
statusis FALSE, code can be zero or a warning code.
codeis th en umber identifying an error or warning. If status is
TRUE,code is a non-zero error code. If status is FALSE, code can
bezero or a warning code. Use the error handler VIs to look up the
meaning of this code and to display the corresponding error
message.
sourceis a string that indicates the origin of the error, if any.
Usuallys ource is the name of the VI in which the error occurred.
errorout is a cluster that describes the er ror status after this VI executes.
Ifan error occurred before this VI was called, error out isthesameas
errorin.Otherwise,error out shows the error, if any, that occurred in this
VI. Use the error handler VIs to look up the error code and to display the
corresponding error message. Using error in and error out clusters is a
convenientway to check errors and to specify execution order bywiring the
errorou tput from one subVI to the error input of the next.
statusis TRUE if an error occurred, or FALSE if not. If status is
TRUE,code is a non-zero error code. If status is FALSE,code can
be zero or a warning code.