APIs
There are currently APIs for developing applications to communicate with the OPN2001 on/with the following platforms/technologies:
-
- Windows XP / Vista / 7 (32 and 64 bit)
- ActiveX
- .NET
- Mac OS X
FAQ
I'm trying to integrate the OPN2001 ActiveX control with my Silverlight application, but when I try to create the opnCtl object, I get an exception. What's going on?
- The OPN2001 ActiveX control doesn't expose an Automation API, which is why the exception occurs. See the MSDN article about using Automation here.
How can I communicate with the OPN2001 in my Java application?
- You could utilize the native OPN2001 library via JNI, making a JNI wrapper for the exposed functions.
Will applications written for the OPN2001 work with the OPN2002 or OPN2003?
- Yes, if the OPN2001 simulation application - a piece of firmware for the OPN2002 and OPN2003 - is installed. The application simulates the behavior and protocol of the OPN2001, making it compatible with your OPN2001 applications.
Is the serial protocol of the OPN2001 available?
- No, we don't release that information. The recommended and authorized way of communicating with the OPN2001 is via its various APIs.
Is there a way to recover the saved data from an OPN2001 after the clear command has been sent?
- Unfortunately no - the OPN2001 firmware erases the flash sectors where the data was stored upon executing the clear command. Make sure that the data has actually downloaded before you issue the clear command!
Is polling optional or required?
- Polling is really meant to automatically detect when the OPN2001 has data, and then download it via a callback function. As such, it's not explicitly required.
The OPN-2001 is a small handheld wireless barcode reader capable of storing up to 10,000 barcodes at a time.
Factory Reset
To factory reset the OPN-2001 please follow the below instructions.
- Ensure the OPN-2001 has sufficient charge (at the least the laser should come on with a trigger press when the unit is unplugged)
- Disconnect the OPN-2001 from any USB connections
- Press and hold both buttons (scan and clear) for 10 seconds
- At the end of the time you will hear a single tone indicating successful reset. While holding the keys the LED will flash RED (If it flashes any other color you are not holding both buttons firmly enough).
- Note: It is possible to disable the factory reset option of the OPN-2001 with the SDK (and subsequently our Standard PC Demo Application). If this is disabled this feature will not work until re-enabled.
Loading Firmware
The Firmware of the OPN-2001 can be upgraded (or reloaded in the case of a corrupt firmware) with the following instructions.
- Download and install the USB Drivers appropriate for your PC
- 32-bit Windows
- 64-bit Windows
- Download and install Appload (The latest version of Appload can be found on its download page here)
- Download the latest firmware for the OPN-2001 (found here)
- Connect the OPN-2001 to the PC
- Launch Appload
- In Appload select 'Settings' > 'Port' > 'Opticon USB Code Reader(1D) (COMx)'
- In Appload select 'Settings' > 'IrDA Adapter/Cradle type' > 'Not installed'
- In Appload select 'File' > 'Download' and browse to the firmware file (e.g. RBBV0139.hex) and click 'open'
- The download will take approximately 30 seconds at which time you will see the message 'Download successfully completed'
OS Release Log
Links