Hand Held Products 4X00 Digital Camera User Manual


 
IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide 2 - 55
oemSetupIATA25
This function is used to set the Straight 2 of 5 IATA symbology-specific options.
Result_t oemSetupIATA25 (
WORD nMinLength,
WORD nMaxLength
)
Return Values
RESULT_SUCCESS
RESULT_ERR_PARAMETER
Parameters
nMinLength
The minimum length decoded IATA 2 of 5 message the engine should return. IATA 2 of 5 messages smaller than this
minimum length are not reported by the engine. The minimum allowable value (as well as the default) is 4.
nMaxLength
The maximum length decoded IATA 2 of 5 message the engine should return. IATA 2 of 5 messages larger than this
maximum length are not reported by the engine. The maximum allowable value (as well as the default) is 80.
oemSetupInt25
This function is used to set the Interleaved 2 of 5 symbology-specific options.
Result_t oemSetupInt25 (
BOOL bCheckDigitOn,
BOOL bXmitCheckDigit,
WORD nMinLength,
WORD nMaxLength
)
Return Values
RESULT_SUCCESS
RESULT_ERR_PARAMETER
Parameters
bCheckDigitOn
Points to a BOOL variable that determines if the engine will read Interleaved 2 of 5 bar codes with or without check
characters. If TRUE, the engine only decodes Interleaved 2 of 5 codes with a check digit. If FALSE, the decoder
decodes codes with or without a check digit. The default value is FALSE.
bXmitCheckDigit
Points to a BOOL variable that determines if the engine will return the check digit as part of the data string after a
successful decode. If TRUE, the engine returns the check digit. If FALSE, the check digit is not returned. The default
value is FALSE.
Note: This parameter is only used when bCheckDigitOn is set to TRUE. If bCheckDigitOn is set to FALSE, this
parameter is ignored.
nMinLength
The minimum length decoded Interleaved 2 of 5 message the engine should return. Interleaved 2 of 5 messages
smaller than this minimum length are not reported by the engine. The default value is 6, and the minimum allowable
value is 4.
nMaxLength
The maximum length decoded Interleaved 2 of 5 message the engine should return. Interleaved 2 of 5 messages larger
than this maximum length are not reported by the engine. The maximum allowable value (as well as the default) is 80.