12-1
Chapter 12
Tables and Pick Lists
The TriCoder has a valuable feature that allows you to download information
into the TriCoder (a table) and then reference that table of information during
data collection. There are 3 functions that the table feature performs:
•
Table data validation
•
Table data maintenance
•
Pick Lists
Partitioning memory for table use
In order to use tables with the TriCoder, the TriCoder memory must first be
partitioned into areas for table data and areas for data storage. Memory is
allocated using the
Partitions
setup parameter, either by scanning the bar
coded
Setup Menu
or accessing the TriCoder Setup via the keypad.
TriCoder memory is partitioned into 64K pages, with 8 pages total. The
TriCoder
Partitions
parameter is as follows:
PARTITIONS?
abcdef_
where:
a
is the allocation for data file #1
b
is the allocation for data file #2
c
is the allocation for data file #3
d
is the allocation for table #1
e
is the allocation for table #2
f
is the allocation for table #3
PARTITIONS?
700100_
The total number of pages defined must equal 8. In this example, data file
#1 is allotted 7 pages (224k), data files #2 and #3 none, table #1 is allotted 1
page (64K) and tables #2 and #3 are given none (0k). The size of the table
will determine how much memory needs to be set aside. In our example,
the largest table allowed would be 64K.
Data Validation using Tables
Lets say you have a warehouse application where you want to use the
TriCoder to record items being loaded onto a truck. You can use a table of
data downloaded into the TriCoder to validate what is being loaded on the
truck. When the worker scans the item to be loaded, the TriCoder checks
the item number against the item numbers in the table; if they match, the
item number is written to the data file and he moves on to the next item. If
the item number he scans is not found in the table, the TriCoder would alert
the worker that the item he is loading is not on the list, avoiding a possible
mis-shipment or loss.