Opticon OPN 2002 v35412 Batch demo Quick Guide User Manual
Page 4
![background image](/manuals/569754/4/background.png)
4
Barcode database file
All scanned unique barcodes are stored in a sorted database file with fixed
length records. Besides the barcode data also the quantity, serial number of the
OPN2002/3 and a date/time stamp can be stored.
The default format of each record in the database file is:
Example:
8710841030181 , 12,003278,14:41:03,23/11/2009
8710841090246 , 2,003278,14:41:04,23/11/2009
9780131103627 , 1,003278,14:41:00,23/11/2009
The OPN2002 automatically sorts the data base file after adding a scanned
barcode to the database. This is done to keep the database search functions
equally fast when the database is filled with many barcodes.*
The file name of the database is 'DATA.TXT', which is stored on the host PC or
laptop after the file has been transferred using the NetO protocol. By default the
NetO32 host application appends the transmitted databases, so all data of
multiple OPN2002s will end up in a single database file.
The resulting database file can be imported in various applications as, so called
comma-separated file.
To customize the output format of the database file, please check Appendix A.
*Note: If no quantity field is specified in the output format, then the database
won't be sorted and each bar code will be stored in a separate record.
Scanning barcodes
This demo uses the trigger button to enable the laser to scan barcodes.
If a barcode is read using the trigger key and good read beep is produced and a
green goodread LED is shown. The barcode is then stored in the database with a
quantity of '1'. If the same barcode is scanned again the quantity is incremented
by one.
To decrement the quantity of a barcode that's already in the database the small
delete key should be used to read the same barcode. A short good read beep is
produced and an orange red good read LED is shown.
If a barcode is scanned using the delete key that isn't present in the database or
that already has a quantity of '0' a low error beep is sound and a red led is
shown.
Negative quantities are by default not supported, but when using the 'Negative
quantities' option (see Appendix A) it is possible to scan negative quantities of
barcodes. When a specific barcode has a negative quantity the led color changes
to from green (add) or orange (subtract) to red on a good read and the sound
becomes slightly lower.