8-22
6. Padding data with zeros or spaces
The Upload Prefix can be used to add zeros or spaces before the data
up to the Maximum Data Length specified for the statement. Padding
and Trimming are mutually exclusive; trimming always takes
precedence. To pad data with zeros, use:
^0
To pad data with spaces, use:
^S
For example, if statement #01 has a Maximum Data Length of 10 and
you scan the number 12345, the following Upload Prefix for statement
#1 would produce data of 0000012345.
UPLOAD PREFIX
01
^0
When programming an Upload Prefix, you must press the
ENTER
key on
the TriCoder to terminate the entry, whether you have entered data from the
keypad or scanned it from the Full ASCII Menu. If you try to scan
ENTER
from the Full ASCII Menu, the TriCoder will think you want to add an
ENTER (carriage return) to the Upload Prefix.
When entering unprintable characters from the Full ASCII Menu as Upload
Prefix data, each character will display on the TriCoder as ?. If you want to
know what ASCII character is there, press the
F2
key and the three-digit
ASCII equivalent of your entry will appear. For example, if you scanned
the CR from the Full ASCII Menu, it would display on the TriCoder as ?.
Pressing
F2
will display the CR as 013 (the ASCII for CR). See Appendix
O; ASCII Code Equivalent Table for a chart of all ASCII characters.
Upload Prefixes and Upload Suffixes are the only program statement fields
that can be edited after data has already been collected in the TriCoder. All
other statement fields are not editable until the current data file is deleted.
• Upload Suffix
The Upload Suffix is just like the Upload Prefix; only it is appended
AFTER the data for the statement.
All of the properties of the Upload Prefix apply to the Upload Suffix also:
1.
Identification of a field
2. Simulating
keystrokes
3. Timing
Delays
4.
Appending data to another field
5.
Trimming Data (from the END of the data)
6.
Padding Data (padding at the END of the data)
Содержание Portable Bar Code Reader
Страница 14: ......
Страница 20: ......
Страница 48: ......
Страница 116: ......
Страница 125: ......
Страница 143: ......
Страница 174: ......
Страница 186: ......
Страница 200: ......
Страница 208: ......
Страница 212: ......
Страница 218: ......
Страница 222: ......
Страница 224: ......
Страница 226: ......