![TriCoder Portable Bar Code Reader Скачать руководство пользователя страница 135](http://html.mh-extra.com/html/tricoder/portable-bar-code-reader/portable-bar-code-reader_owners-manual_1162123135.webp)
12-6
There are several points to remember when creating a table maintenance
file:
•
If you want to use variable length data in your key field, you
must pad the data with TRAILING spaces until you reach the
length set in your header. In the example above, your key field
length is 5, so if you want to be able to enter the number 123, the
data must actually be 123xx where xx are “space” characters.
•
There are no physical delimiters between fields; the TriCoder is
using the field length from the header to determine each field length.
•
If the length of your data for a field is not the same as the data
length you have specified in the header, you must pad the data
out to the specified data length by adding spaces to the end of
the data. Field #1 must always be the same length, regardless
of the length of the actual data. The same is true for all fields.
The example above shows this. When the operator edits data in
the table, they do not have to include the spaces.
•
Each line in the file must be terminated with a CR/LF. CR is
ASCII 13 and LF is ASCII 10. The file itself should be
terminated with a Ctrl Z (ASCII 26)
•
It is critical that the header and file use the correct syntax and
format. The TriCoder checks the file before it downloads it and
will display the appropriate error message if it finds a problem:
Error Message
Condition/Solution
INVALID HEADER
HIT ANY KEY_
There is a problem with the format or syntax of the header.
Check the header for syntax errors.
TABLE FORMAT ERR
HIT ANY KEY_
There is a problem with the format of the actual table data.
Check the table data for format and field lengths.
TABLE TOO BIG
HIT ANY KEY_
The table size is larger than the amount of memory you have
allotted in the TriCoder or, there is a format error in one of
the records. Increase the memory in the PARTITIONS setup
parameter and if using TBLSEND.BAS to download the table,
check the record just after the one displaying on the screen.
Output data file format for Table Maintenance
When a record is accessed from the table during data collection, that entire
record is written to one of the TriCoders data files. When it is time to
upload the TriCoder, it is the data file, not the actual table that is uploaded.
When a data file created during Table Maintenance is uploaded, it is
uploaded in a “comma delimited” format. This format is used to make the
data easier to process for most applications. The following example shows
what the record looks like in the table:
11111TWINKIES - 4OZ $1.39 21
Содержание Portable Bar Code Reader
Страница 14: ......
Страница 20: ......
Страница 48: ......
Страница 116: ......
Страница 125: ......
Страница 143: ......
Страница 174: ......
Страница 186: ......
Страница 200: ......
Страница 208: ......
Страница 212: ......
Страница 218: ......
Страница 222: ......
Страница 224: ......
Страница 226: ......