* Scan 4 for expiration Year
* Scan CR from Full ASCII table for <Enter>
* Scan PP to end output sequence setting
* Scan “Exit: to end setup
3.3. Data Editing
The purpose of Data Edit is to enable you to define and modify a data record that
results from the decoding of a bar code. By using a combination of Formulas, you
can perform the following functions on the data received by the scanner:
A. Rearrange the output sequences.
B. Delete characters from the record.
C. Insert characters into the record, including function codes.
D. Duplicate characters in the record.
E. Insert a time delay into the record
Formula
Formula
is a structure that tells the scanner what and how to process the original data
record to produce the desired output. The built-in wedge allows multiple
Formulas
,
but the number of the
Formulas
that can be defined
depends upon the memory size
allocated for Data Editing.
Original Data Structure
The original data structure is the decoded data plus preamble and postamble. The
original data structure is as follows:
Prepreamble
Decoded Data
Postamble
Formula Structure:
A
Formula
consists of two parts
: Qualifier
and
Modifier
(See Figure 7.1).
Qualifier
is used to verify if the data record meets the conditions specified, and
Modifier
is processed only if all conditions in Qualifier are met.
Execution Sequence
If several Formulas are defined, data editing will perform sequentially from the first
Formula to the last Formula. If a Formula is qualified and executed, the subsequent
formulas will be ignored. If none of the Formulas are executed, the data record will
be discarded and there will be no output to the host.