Rice Lake Motorola DS457 Laser Scanner User Manual

Page 88

Advertising
background image

6 - 26 DS457 Fixed Mount Imager Integration Guide

Example 2a

To decode a Code128 (Code Type=8) on the top half of the image and a PDF417 (Code Type=15) on the

bottom half of the image, as in

Figure 6-2

, program the expression as follows:

The expression in decimal is (formatted for readability):

2 C 2 0 8 R 4 0 0 100 50 ; C 2 0 15 R 4 0 50 100 100 ;

To program the expression via scanning parameters the sequence is:

[MultiCode-Expression] 02 C 02 00 08 R 04 00 00 64 32 ; C 02 00 0F R 04 00 32 64 64 ; [End Of Message]

To program the expression via host command (SSI/SNAPI) the sequence is:

0x02 0x43 0x02 0x00 0x08 0x52 0x04 0x00 0x00 0x64 0x32 0x3B 0x43 0x02 0x00 0x0F 0x52 0x04 0x00

0x32 0x64 0x64 0x3B

For more information on this method, see

Programming a Multicode Expression via SSI Command on page

6-29

.

Advertising