Hand Held Products 4X00 OemGetSetupImager, OemGetSetupInt25, Prototype Resultt oemGetSetupImager

Models: 4X00

1 90
Download 90 pages 3.78 Kb
Page 41
Image 41

oemGetSetupImager

This function gets the current Imager setup values.

Prototype

Result_t oemGetSetupImager (

SetupType_t SetupType, ImagerSetup_t *pImagerSetup

)

Return Values

RESULT_SUCCESS

Parameters

pImagerSetup

Data structure that sets up the Imager. See oemAcquireImage (page 2-1)for details.

SetupType

This parameter is ignored.

oemGetSetupInt25

This function is used to get the Interleaved 2 of 5 symbology-specific options.

Result_t oemGetSetupInt25 (

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

)

Return Values

RESULT_SUCCESS

RESULT_ERR_PARAMETER

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 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 4.

pMaxLength

Points to a WORD variable that contains the maximum length decoded Interleaved 2 of 5 message the engine should return. Interleaved 2 of 5 messages larger than this maximum length are reported by the engine. The default value is 80.

pbCheckDigitOn

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.

pbXmitCheckDigit

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.

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

2 - 27

Page 41
Image 41
Hand Held Products 4X00 OemGetSetupImager, OemGetSetupInt25, Prototype Resultt oemGetSetupImager, Resultt oemGetSetupInt25