Search Commands - Honeywell Virtuos 1D User Manual

Scanner for aerpos & aermonitor
Table of Contents

Advertisement

Search Commands

Search forward for a character
F8 Search the input message forward for "xx" character from the current cursor position, leaving the cursor pointing to the
"xx" character. Syntax = F8xx where xx stands for the search character's hex value for its ASCII code.
Refer to the
ASCII Conversion Chart (Code Page 1252),
F8 Example: Send bar code data that starts after a particular character
Search for the letter "D" in bar codes and send all the data that follows, including the "D." Using the bar code above:
Command string: F844F10D
F8 is the "Search forward for a character" command
44 is the hex value for "D"
F1 is the "Send all characters" command
0D is the hex value for a CR
The data is output as:
DEFGHIJ
<CR>
Search backward for a character
F9 Search the input message backward for "xx" character from the current cursor position, leaving the cursor pointing to
the "xx" character. Syntax = F9xx where xx stands for the search character's hex value for its ASCII code.
Refer to the
ASCII Conversion Chart (Code Page 1252),
Search forward for a non-matching character
E6 Search the input message forward for the first non-"xx" character from the current cursor position, leaving the cursor
pointing to the non-"xx" character. Syntax = E6xx where xx stands for the search character's hex value for its ASCII
code. Refer to the
codes.
E6 Example: Remove zeroes at the beginning of bar code data
This example shows a bar code that has been zero filled. You may want to ignore the zeroes and send all the data that
follows. E6 searches forward for the first character that is not zero, then sends all the data after, followed by a carriage
return. Using the bar code above:
Command string: E630F10D
E6 is the "Search forward for a non-matching character" command
30 is the hex value for 0
F1 is the "Send all characters" command
0D is the hex value for a CR
The data is output as:
37692
<CR>
Search backward for a non-matching character
E7 Search the input message backward for the first non-"xx" character from the current cursor position, leaving the cursor
pointing to the non-"xx" character. Syntax = E7xx where xx stands for the search character's hex value for its ASCII
code. Refer to the
codes.
5 - 6
ASCII Conversion Chart (Code Page 1252),
ASCII Conversion Chart (Code Page 1252),
beginning on page A-3 for decimal, hex and character codes.
beginning on page A-3 for decimal, hex and character codes.
beginning on page A-3 for decimal, hex and character
beginning on page A-3 for decimal, hex and character

Advertisement

Table of Contents
loading

This manual is also suitable for:

Virtuos 2d

Table of Contents