![background image](http://html1.mh-extra.com/html/hand-held-products/5080/5080_user-manual_589690042.webp)
4 - 6
5X80 Series Software Development Kit (SDK) User’s Guide
Special OCR “code”
OCR_T
ocr;
None (See SymCodeOCR_t)
} SymCfg_t, HHP_SYM_CONFIG, *PSymCfg_t, *PHHP_SYM_CONFIG;
Data structures for decoded barcode message: hhpCaptureBarcode() and hhpGetAsyncResults(). Not stored in imager.
typedef struct _tagHHP_DECODE_MSG
{
DWORD
dwStructSize;
Size of decode structure.
TCHAR
pchMessage[ MAX_MESAGE_LENGTH ];
decoded message data
TCHAR
chCodeID;
AIM Id of symbology
TCHAR
chSymLetter;
Hand Held Products Id of symbology
TCHAR
chSymModifier;
Modifier characters
DWORD
nLength;
length of the decoded message
} HHP_DECODE_MSG, DecodeMsg_t, *PHHP_DECODE_MSG;
typedef struct _tagHHP_RAW_DECODE_MSG
{
WORD
wStructSize;
Size of decode structure
BYTE
chMessage[ MAX_MESAGE_LENGTH ];
Decoded message data
BYTE
hCodeID;
AIM ID of symbology
BYTE
hSymLetter;
HHP ID of symbology
BYTE
hSymModifier;
Modifier characters
DWORD
Length;
Length of the decoded message
} HHP_RAW_DECODE_MSG, RawDecodeMsg_t, *PHHP_RAW_DECODE_MSG;
Imaging Structures and Defines
Image Acquisition bit mask:
The following are also configuration items:
#define WHITE_VALUE_MASK
0x00001
Target value (0-255) for the “white” pixel.
#define WHITE_WINDOW_MASK
0x00002
Acceptable delta from target white.
#define MAX_CAPTURE_RETRIES_MASK
0x00004
Max # of frames to try to get white value.
#define ILLUMINATION_DUTY_CYCLE_MASK 0x00008
How LEDs behave during image capture.
#define LIGHTS_DUTY_CYCLE_MASK
0x00008
Duplicate of above mask.
#define AIMER_DUTY_CYCLE_MASK
0x00010
How aimers behave during image capture.
#define FIXED_GAIN_MASK
0x00020
If manual mode, gain value to use.
#define FIXED_EXPOSURE_MASK
0x00040
If manual mode, exposure value to use.
#define FRAME_RATE_MASK
0x00080
If manual mode, frame rate to use.
#define AUTOEXPOSURE_MODE_MASK
0x00100
Barcode, Photo, or manual AGC mode.
#define IMAGE_CAPTURE_MODE_MASK
0x00100
Same as above mask.
Following 2 items are not config items and are only used in hhpAcquireImage():
#define WAIT_FOR_TRIGGER_MASK
0x00200
Wait for trigger before capture.
#define PREVIEW_MODE_IMAGE_MASK
0x00400
Capture a preview image (214x160x8 JPEG).
Grouped masks:
#define CAPTURE_MASK_CONFIG_ALL
0x001ff
Mask for all configuration items.
#define CAPTURE_MASK_FIXED_AGC
0x00180
Mask for all manual exposure mode items.
#define CAPTURE_MASK_ALL
0x007ff
Mask for all structure members.
#define MAX_MESAGE_LENGTH
4096
Содержание 5080
Страница 1: ...Software Development Kit SDK for 5080 5180 and 5380 Decoded Miniature Image Scan Engines User s Guide ...
Страница 6: ...iv 5X80 Series Software Development Kit SDK User s Guide ...
Страница 14: ...1 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 50: ...4 14 5X80 Series Software Development Kit SDK User s Guide ...
Страница 60: ...6 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 62: ...7 2 5X80 Series Software Development Kit SDK User s Guide ...
Страница 63: ......
Страница 64: ... Hand Held Products Inc 700 Visions Drive P O Box 208 Skaneateles Falls NY 13153 0208 5X10 80SDK UG Rev C 9 07 ...