imaqSetError

NI Vision for LabWindows/CVI Function

imaqSetError

Usage

int imaqSetError(int errorCode, const char* function);

Purpose

Sets the current error.

Parameters

Name

Type

Description

errorCode int The code of the error to set.
function const char* The name of the function in which the error occurred. Set this parameter to NULL to record no function.

Return Value

Type

Description

int Sets the current error.