Search for a Data String

This command allows you to create a data field by searching the scanned data for a data string that matches a data string specified in the formula. If a match is found, the scanned data will be divided into three fields: the data from the search start point to the character before the searched data string, the data string itself, and the data remaining.

SELECTION CODE: JG

Characters that Constitute the Data String to be Searched for

EXAMPLE:

In scanned data, to search for the data string ABCDE, enter:

... JG<ENTER>A<ENTER>B<ENTER>C<ENTER> D<ENTER>E<ENTER> ...

This means that scanned data “1234567ABCDEFG” will be divided into three fields: 1234567 and ABCDE and FG.

Add a Data Field

This command allows you to add a character string to scanned data before transmitting it to the host computer. The character string you add will be transmitted as a separate data field. (This command is optional.)

SELECTION CODE: JJ

Characters that Constitute the Data String to be Added

EXAMPLE:

In scanned data, to add one data field “abcd” to the scanned data 1234, enter:

... JJ<ENTER>a<ENTER>b<ENTER>c<ENTER>d<ENTER> ...

This means that additional field “abcd” can be added to output data string abcd and 1234.

Note: The added string can be comprised of any characters from the full ASCII table. However, the communication program used may not be able to accept the non- printable characters.

Note: For CR, use CTRL-N (ASCII code 14h).

38

Page 44
Image 44
Omnitron Systems Technology RS-232 Search for a Data String, Add a Data Field, Jgenteraenterbentercenter Dentereenter