Match String

This command looks for a “match” between a data string designated in the data editing formula and a data string in the data scanned by the reader. When this feature is enabled, the only data sent to the host will be data that contains the matched data string. The first two digits indicate the position in the scanned data at which the match is to begin. Up to 60 characters can then be entered to specify the actual string to be matched. If you need to match more than one character string, simply add another match command to the formula. (This command is optional.)

SELECTION CODE: JE

Two Digits for Position at which to Begin Match

Up to 60 Characters for Match String

EXAMPLE:

To begin the match string at position 8 and designate the match string as ABCDE, enter:

... JE<ENTER>0<ENTER>8<ENTER>A<ENTER>B<ENTER> C<ENTER>D<ENTER>E<ENTER> ...

This means that input data “1234567ABCDE” will match the data string in the Match String formula and will therefore be considered valid.

Note: The first position is 01, not 00.

Create a Data Field

This command allows you to create a data field that begins with the first position in the scanned data and extends a specified number of characters. For instance, if the new data field is to be eight characters long, the undivided field of data will be divided into two fields, the first eight characters long, and the second the remaining data characters.

SELECTION CODE: JF

Two Digits for Position at which First Data Field Ends

EXAMPLE:

In scanned data 15 characters long, to create a first data field of 7 characters and a second data field of 8 characters, enter:

... JF<ENTER>0<ENTER>7<ENTER> ...

This means that input data “1234567ABCDEFG” will divide into two fields: 1234567 and ABCDEFG.

37

Page 43
Image 43
Omnitron Systems Technology RS-232 Match String, Create a Data Field, JEENTER0ENTER8ENTERAENTERBENTER Centerdentereenter