imaqReadLCD
Usage
LCDReport* imaqReadLCD(const Image* image, const ROI* roi, const LCDOptions* options);
Purpose
Reads the numeric value of a seven-segment LCD.
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL
Parameters
Name
|
Type
|
Description
|
---|---|---|
image | const Image* | The image containing the LCD to read. |
roi | const ROI* | A region of interest (ROI) consisting of rectangles around each of the digits of the LCD. Generate this ROI by calling imaqFindLCDSegments(). |
options | const LCDOptions* | Controls how the LCD is read. |
Return Value
Type |
Description |
---|---|
LCDReport* | On success, this function returns a structure describing the state of the LCD. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). |
Parameter Discussion
options—Set options to NULL to use the default options, as follows:
litSegments | FALSE |
threshold | 8 |
sign | FALSE |
decimalPoint | FALSE |