Page 1
OPN2004/5/6 and PX20 Batch demo application Version RFI3793F (OPN2004/5/6) / RFM3793F (PX20) April 25, 2016 Opticon Sensors Europe BV Opticon, Inc.
1 Overview The batch demo application for the OPN2004/5/6 and PX20 demonstrates the ability of these devices to save scanned barcode data into a file on the device, and for the devices to deliver the scanned barcode data file to a local The data files can be retrieved from the scanners either by using USB-MSD (Mass Storage Device;...
2.2 OseComm32 host application This demo application can use Opticon’s OseComm32 application to transfer files from the barcode readers to a local PC or laptop. This application can be downloaded from our web site. The minimum required OseComm32 version is Version 1.0.4.0.
3 Customizing your barcode terminal In the following section a brief overview is given on how to configure your barcode reader for your desired application. 3.1 Selecting the USB interface (VCP or MSD) This batch demo application supports two methods of retrieving your barcode database file from the barcode readers: ...
3.2 OSE Universal Menu Book support The barcode readers this demo application supports can be configured by scanning various configuration barcodes found in our Universal Menu Book*. This makes it possible to customize your barcode reader without having to actually change the source code of this demo application. The OPN/PX20 supports (most of the) menu options listed in the following chapters: 1.
4 Barcode database file All scanned unique barcodes are stored in a database file with non-fixed length records. Besides the barcode data, the quantity, serial number and a date/time stamp can be stored. The default format of each record in the database file is: <Barcode>,<serial #>,<hh:mm:ss>,<dd/mm/yyyy>...
5 Scanning barcodes This demo application uses the trigger button to enable the scan engine to scan barcodes. If a barcode is read using the trigger key and is successfully read, a good-read beep is sounded and a green good- read LED is shown.
7.1 USB-VCP drivers To be able to communicate with the barcode readers using USB-VCP, you will need to have Opticon’s USB driver installed on your PC. This driver can be found on our website on the 'Service and Support' page.
Page 10
Due to the limited amount of flash memory inside the barcode readers the size of the file system is rather small, being about 1MB. This is enough space for storing barcodes, but not for using the barcode readers as a portable hard drive.
9 Using the USB-VCP interface When the USB-VCP interface has been selected (see chapter 3.1), the barcode database file can be transmitted to a local PC using the OseComm or NetO file transfer protocols. To be able to receive the files on the host, you'll need OseComm32 or NetO32 installed.
In the Receive Files(s) Dialog the task can be configured as shown in the following image. Finally, select ‘Options’ > ‘Start Protocol’. More information about additional OseComm32 features can be found in the help file of OseComm32. 9.2 Neto32 When the USB-VCP interface has been selected (see chapter 3.1) and the NetO protocol (see Appendix A), then the barcode database file can be transmitted to a remote PC or laptop using NetO32.
Page 13
When using USB-VCP and the USB cable to retrieve your data, then the RS232 configuration of NetO32 is limited to selecting the correct COM-port of your device in the RS232 configuration window of NetO32. However, when using the USB cable it's not possible to keep NetO32 running in the background due to the fact that the USB COM-port won't be present on your system until you've physically connected your device to your USB port.
(e.g. RBIVxxxx.hex) should be loaded on your barcode reader. This same convention is typically followed for application filenames and versions as well. In the table below you can find the software codes for the supported barcode readers. Terminal Application OPN2004 OPN2005 RFI / RFL OPN2006 RFI / RFL / RFN PX20 10.2 Loading software using Appload...
Use this OPN application in combination with the OPN2001 PC application for Windows (or develop your own application using the SDK that's available for the OPN2001). Note: When planning to use the OPN2004/5/6 solely as a standard OPN2001, so without Bluetooth or the need to run other applications, please note the following (hardware) differences: ...
11.1 Trouble shooting Since the barcode readers don't have a display, they also don't have a system menu to resort to when a crashing application or OS prevents you from loading new software on your barcode reader. For this reason the barcode readers have a few escape mechanisms to allow you to restart, halt your application, and/or install new software.
Small LED bug fixes March 3, 2012 RFIS0940 First release OPN2004 December 26, 2012 RFI37931 OSE version OPN2004 with bug fixing April 9, 2013 Fixed USB-MSD issues RFI37932 Added OPN2005 support April 25, 2013 Added PX20 support (incl. 2D barcodes)
Appendix A: Database output formatting The default output format of each record in the database file is: <Barcode>,<serial #>,<hh:mm:ss>,<dd/mm/yyyy> However, this application allows you to customize this format to make it suitable for your own application. The following aspects of the output format are configurable. Read the configuration barcodes on the following page to select the various options.
Need help?
Do you have a question about the OPN2004 and is the answer not in the manual?
Questions and answers