imaqGetErrorText

NI Vision for LabWindows/CVI Function

imaqGetErrorText

Usage

char* imaqGetErrorText(intĀ errorCode);

Purpose

Returns the error text corresponding to an error code. The error text is a description of what the error code signifies.

Parameters

Name

Type

Description

errorCode int The error code whose error text the function returns. You can obtain this error code by calling imaqGetLastError().

Return Value

Type

Description

char* This function returns the error text corresponding to the error code input. This function returns UNKNOWN_ERROR if no error text corresponds to the error code you specified. When you are finished with this string, dispose of it by calling imaqDispose().