Hand Held Products 4X00 Digital Camera User Manual


 
2 - 46 IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide
oemSetLinearRange
This function sets the size of the window used in the Advanced Linear decoding mode.
Result_t oemSetLinearRange (
SetupType_t SetupType,
WORD nLinearRange
)
Return Values
RESULT_SUCCESS
RESULT_ERR_PARAMETER
RESULT_ERR_UNSUPPORTED
Parameters
SetupType
SETUP_TYPE_CURRENT for current settings, or
SETUP_TYPE_DEFAULT for default settings.
nLinearRange
Points to a WORD variable that contains the desired Range Value. 15 lines are searched for a linear bar code. Spacing
between those 15 lines is determined by this value passed in. The range value is from 1 to 6. Spacing is calculated by:
pixel rows to the next line = 2^(value passed in - 1)
oemSetPrintWeight
This function returns the current or default "Print Weight" (relative contrast) expected by the decoder for barcodes or OCR text.
Result_t oemGetPrintWeight (
WORD nPrintWeight
)
Return Values
RESULT_SUCCESS
RESULT_ERR_PARAMETER
Parameters
nPrintWeight
Set the print weight (relative blackness) that the decoder expects to see when attempting to decode symbols or OCR
text from an image. Changing this value can facilitate decoding of symbols with non-standard black on white contrast
such as with etched metal on car parts or some soda cans.
oemSetScanningLightsMode
This function gives the user the ability to select what the illumination and aimer do during imaging.
Result_t oemSetScanningLightsMode(
ScanIlluminat_t nIllumMode
)
Parameters
ScanIlluminat
SCAN_ILLUM_AIMER_OFF=0 Neither aimers nor illumination
SCAN_ILLUM_ONLY_ON Illumination only
SCAN_AIMER_ONLY_ON Aimers only
SCAN_ILLUM_AIMER_ON Both aimers and illumination