Parameters

SetupType

SETUP_TYPE_CURRENT for current settings, or SETUP_TYPE_DEFAULT for default settings.

pEnabled

Points to a BOOL variable that contains the enabled state of this symbology upon returning from the function. A TRUE means the symbology is enabled; a FALSE means the symbology is disabled.

pMinLength

Points to a WORD variable that contains the minimum length decoded Code 39 message the engine should return. Code 39 messages smaller than this minimum length are not reported by the engine. The default value is 2.

pMaxLength

Points to a WORD variable that contains the maximum length decoded Code 39 message the engine should return. Code 39 messages larger than this maximum length are reported by the engine. The default value is 48.

pbSSXmit

Points to a BOOL variable that determines if the start and stop characters are returned in the data string after a successful Code 39 decode. If bSSXmit is TRUE, the start and stop characters are included. If FALSE, they are not included. The default value is FALSE.

pbFullAscii

Points to a BOOL variable that determines if certain character pairs within the bar code symbol are interpreted and returned as a single character. If bFullAscii is TRUE, interpretation is enabled. If FALSE, no interpretation is attempted. The default value is FALSE.

pbAppend

Points to a BOOL variable that determines if the engine should append together and buffer up Code 39 symbols that start with a space (excluding the start and stop characters). The engine stores the symbols in the order in which they are read. It returns the data after a Code 39 symbol with no leading space is read. The return data has the leading spaces removed. If TRUE, the append feature is enabled. If FALSE, the append feature is disabled. The default value is FALSE.

pbCheckCharOn

Points to a BOOL variable that determines if the engine will read Code 39 bar codes with or without check characters. If TRUE, the engine only decodes Code 39 codes with a check character. If FALSE, the decoder decodes codes with or without a check character. The default value is FALSE.

pbXmitCheckChar

Points to a BOOL variable that determines if the engine will return the check character as part of the data string after a successful decode. If TRUE, the engine returns the check character. If FALSE, the check character is not returned. The default value is FALSE.

oemGetSetupCode49

This function is used to get the Code 49 symbology-specific options.

Result_t oemGetSetupCode49 (

SetupType_t SetupType, BOOL *pEnabled, WORD *pMinLength, WORD *pMaxLength

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

2 - 20

IMAGETEAM™ 4X00 Series Software Development Kit (SDK) User’s Guide

Page 34
Image 34
Hand Held Products 4X00 manual OemGetSetupCode49, PbFullAscii, PbAppend, Resultt oemGetSetupCode49