
Chapter 13: Scanners
Reading Bar Codes
159
Psion Mobile Devices Developers Guide
13.7 Reading Bar Codes
13.7.1 Initiating a Bar Code Scan
A bar code scan is initiated for an internal scanner by one of the following:
• Pressing the keyboard key that is configured as the scanner trigger.
• Using the Scan method, in the Scanner API, of the Mobile Devices SDK.
A bar code scan is initiated for an external scanner as follows:
• Pressing the trigger on the pistol grip of the external scanner.
13.7.2 Controlling a Bar Code Scan
The following timing parameters control bar code scanning for the internal scanner:
Double-click time
This parameter defines the time within which the scanner trigger must be pressed twice, if the trigger
presses are to be interpreted as a double-click and not as two single-clicks. The following setting controls
this for the internal scanner and an external Non-decoded Laser Scanner:
• Scs\Click Time: see Section 13.6.1 Configuring Scanner Properties on page 102 for details.
Dot time
For scanners with an aiming dot, this parameter defines the length of time for which the aiming dot is
enabled before scanning begins. The following settings control this:
• Non-decoded\Dot Time; see Section Non-decoded Laser Scanner Options on page 103 for details.
• Decoded\Aiming Mode; see Section Decoded Laser Scanner Options on page 104 for details.
• Imager\Dot Time; see Section Imager Options on page 106 for details.
Scan beam on time
This parameter defines the maximum length of time that the scanning beam is enabled. This can only be
set for decoded scanners using the following parameter:
• Decoded\Laser On Time; see Section Decoded Laser Scanner Options on page 104 for details.
The only way that the scanning beam can be turned off before the end of this time is by releasing the
scanner trigger.
The following diagram shows the timing sequence for an operator controlled bar code scan:
Figure 13.1 Operator Controlled Scanner Timing Sequence
The following diagram shows the timing sequence for a software initiated bar code scan:
Double click time Dot time
Scan beam on time
Typically 250 msec. Typically 2.5 sec. Typically 5 sec.
Time
Scanner trigger pressed
Scan initiated
Double click time Dot time
Scan beam on time
Typically 250 msec. Typically 2.5 sec. Typically 5 sec.
Time
Scanner trigger pressed
Scan initiated
Komentarze do niniejszej Instrukcji