imaqGetCharInfo2

NI Vision for LabWindows/CVI Function

imaqGetCharInfo2

Usage

CharInfo2* imaqGetCharInfo2(const CharSet* set, int index);

Purpose

Returns information about a particular trained character. The structure that the function returns contains a copy of the data from the character set. Modifications to the information in the structure do not affect the character set.

Parameters

Name

Type

Description

set const CharSet* The character set this function operates on. To create a character set, use imaqCreateCharSet(). This parameter is required and cannot be NULL.
index int The index of a trained character in the character set from which the function gets information.

Return Value

Type

Description

CharInfo2* On success, this function returns a report that contains information about the character. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you finish with the character information, call imaqDispose() to dispose of it.