Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 15 of 21

Symbol Palm Terminal Scanner System Software Manual: Chapter 4 Hardware Parameter Functions, pages 117 to 126

Pages 117 to 126 of 168, from Symbol Palm Terminal Scanner System Software Manual

The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol SPT-1700

Page 117

Hardware Parameter Functions

ScanSetBeepAfterGoodDecode Purpose Determines whether the unit is to beep after a good decode. Prototype int ScanSetBeepAfterGoodDecode ( Boolean bEnableBeep);

Parameters -> bEnableBeep

Must be one of the following values: True=ENABLE False=DISABLE

Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR

Comments When bEnableBeep is disabled, the beep still operates during parameter menu scanning, and indicates error conditions.

See Also ScanGetBeepAfterGoodDecode

4-21

Page 118

Symbol Palm Terminal Scanner System Software Manual

ScanSetBeepDuration Purpose Sets the duration of the beep for the specified beep types. Prototype int ScanSetBeepDuration ( DurationType type, int beep_duration);

Parameters -> type

Must be one of the following values: DECODE SHORT MEDIUM LONG

-> beep_duration

A numeric beep length in milliseconds (ms).

Returned Status STATUS_OK If an error occurs, the returned status is: BAD_PARAM

Comments Default durations are: Decode Short Medium Long

90 ms 70 ms 90 ms 240 ms

The acceptable range for any of these durations is 0 to 10,000 ms.

See Also ScanGetBeepDuration

4-22

Page 119

Hardware Parameter Functions

ScanSetBeepFrequency Purpose Sets the frequency of the beeper for the specified beep types. Prototype int ScanSetBeepFrequency ( FrequencyType type, int beep_freq);

Parameters -> type

Must be one of the following values: DECODE FREQUENCY LOW FREQUENCY MEDIUM FREQUENCY HIGH FREQUENCY

-> beep_freq

A numeric beep frequency in hertz (Hz).

Returned Status STATUS_OK If an error occurs, the returned status is: BAD_PARAM

Comments Default frequencies are: Decode frequency Low frequency Medium frequency High frequency

3000 Hz 1500 Hz 3000 Hz 7500 Hz

The acceptable range for any of these frequencies is 0 to 15,000 Hz.

See Also ScanGetBeepFrequency

4-23

Page 120

Symbol Palm Terminal Scanner System Software Manual

ScanSetBidirectionalRedundancy Purpose Requires that a barcode be successfully scanned in both directions before being decoded.

Prototype int ScanSetBidirectionalRedundancy ( Word redundancy);

Parameters -> redundancy

Must be one of the following values: ENABLE DISABLE

Returned Status

STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR

Comments This parameter is only valid when the ScanSetLinearCodeTypeSecurityLevel function call has been enabled.

See Also ScanGetBidirectionalRedundancy

4-24

Page 121

Hardware Parameter Functions

ScanSetDecodeLedOnTime Purpose Sets the amount of time the LED will be turned on when a successful scan is performcd.

Prototype int ScanSetDecodeLedOnTime ( Word led_on_time);

Parameters -> led_on_time

Must be an integer in the range [0...99], representing a time period of 0.0 to 9.9 seconds.

Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR

Comments If a value of 0 is set for led_on_time, the LED will not be turned on. The led_on_time parameter is programmable in 0.1-second increments.

See Also ScanGetDecodeLedOnTime

4-25

Page 122

Symbol Palm Terminal Scanner System Software Manual

ScanSetLaserOnTime Purpose Sets the maximum scanner processing time to be allowed during a scan.

Prototype int ScanSetLaserOnTime ( Word laser_on_time);

Parameters -> laser_on_time

Must be an integer in the range [5...99], representing a time period of 0.5 to 9.9 seconds.

Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR

Comments Your application should use the hardware trigger, instead of the ScanCmdStartDecode command, to initiate a scan. However, if the scanner was previously set to laser pointer mode by the ScanCmdAimOn command and the laser is activated by the ScanCmdStartDecode command, the laser remains on for laser_on_time x 10 seconds. The laser_on_time parameter is programmable in 0.1-second increments.

See Also ScanGetLaserOnTime

4-26

Page 123

Hardware Parameter Functions

ScanSetLinearCodeTypeSecurityLevel Purpose Selects the number of times the barcode is to be scanned before being decoded.

Prototype int ScanSetLinearCodeTypeSecurityLevel ( Word security_level);

Parameters -> security_level

Must be one of the following values: SECURITY_LEVEL1 SECURITY_LEVEL2 SECURITY_LEVEL3 SECURITY_LEVEL4

Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR

Comments Security levels determine the number of times linear barcodes (such as Code 39 or I 2 of 5) are scanned before being decoded. Security levels do not apply to code 128 function calls. Higher security levels are needed for decreasing barcode quality. As security levels increase, the scanner’s aggressiveness decreases, so be sure to choose only that level of security necessary for any given application.

4-27

Page 124

Symbol Palm Terminal Scanner System Software Manual

Linear Security Level 1: The following code types must be successfully read twice before being decoded: CODE TYPE

LENGTH

Codabar

All

MSI Plessey

4 or less

D 2 of 5

8 or less

I 2 of 5

8 or less

Linear Security Level 2: The following code types must be successfully read twice before being decoded: Code Type

Length

All

All

Linear Security Level 3: Code types other than the following must be successfully read twice before being decoded. The following codes must be read three times: Code Type

Length

MSI Plessey

4 or less

D 2 of 5

8 or less

I 2 of 5

8 or less

Linear Security Level 4: The following code types must be successfully read three times before being decoded: Code Type

Length

All

All

See Also ScanGetLinearCodeTypeSecurityLevel

4-28

Page 125

Hardware Parameter Functions

ScanSetPrefixSuffixValues Purpose Appends a prefix or one or two suffixes to scanned data. Prototype int ScanSetPrefixSuffixValues ( Char prefix, Char suffix_1, Char suffix_2);

Parameters -> prefix,

The desired ASCII values.

suffix_1 and suffix_2

Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR

Comments Before setting the prefix/suffix values, set the Scan Data Transmission Format.

See Also ScanGetPrefixSuffixValues ScanSetScanDataTransmissionFormat Appendix A for prefix/suffix values

4-29

Page 126

Symbol Palm Terminal Scanner System Software Manual

ScanSetScanDataTransmissionFormat Purpose Changes the scan data transmission format. Prototype int ScanSetScanDataTransmissionFormat ( Word transmission_format);

Parameters -> transmission_ format

Must be one of the following values: DATA_AS_IS DATA_SUFFIX1 DATA_SUFFIX_2 DATA_SUFFIX1_ SUFFIX2 PREFIX_DATA PREFIX_DATA_SUFFIX1 PREFIX_DATA_SUFFIX2 PREFIX_DATA_SUFFIX1_ SUFFIX2

Returned Status STATUS_OK If an error occurs, the returned status is one of the following: BAD_PARAM BATCH_ERROR

See Also ScanGetScanDataTransmissionFormat

4-30