imgShowError

NI IMAQ Function

imgShowError

Usage

rval imgShowError(IMG_ERR error, char* text);

Purpose

Returns a null-terminated string that describes the error code.

Parameters

Name Type Direction
error IMG_ERR input
text char* output
rval Int32 output

Parameter Discussion

error: valid NI-IMAQ error code.

text: pointer to an array of at least 256 bytes.

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.