Line 13: |
|
|
|
|
|
==Downloading Data Files== |
|
==Downloading Data Files== |
|
|
|
|
- |
===OSEComm===
|
|
|
|
<!-- |
|
<!-- |
- |
Opticon's Demo Applications for the OPH5000i support downloading of data through Opticon's proprietary protocol called [[OSEComm32]] (OSEComm32). As with all communications, there are two sides. In this case, these are the OPH5000i and the host, a PC. In most situations, the terminal is used to collect data by scanning barcodes. This barcode data is then downloaded to the PC for processing.
|
+ |
===OSEComm===
|
|
|
|
|
|
|
+ |
Opticon's Demo Applications for the OPH5000i support downloading of data through Opticon's proprietary protocol called [[OSEComm32]] (OSEComm). As with all communications, there are two sides. In this case, these are the OPH5000i and the host, a PC. In most situations, the terminal is used to collect data by scanning barcodes. This barcode data is then downloaded to the PC for processing.
|
|
|
|
|
|
This section covers setting up and using [[OSEComm32]], our application for sending and receiving data using the OSEComm protocol. |
|
This section covers setting up and using [[OSEComm32]], our application for sending and receiving data using the OSEComm protocol. |
|
|
|
|
|
|
+ |
====Software Installation====
|
|
|
|
|
|
|
+ |
In this section we step through installing both Opticon's USB drivers and OSEcomm.
|
|
|
|
|
|
|
+ |
====Installing USB Drivers====
|
|
|
+ |
To install USB Drivers follow the steps below.
|
|
|
+ |
# Download the USB drivers from the [[#Drivers|Driver Downloads section]].
|
|
|
+ |
# Open the zip file by double clicking on it.
|
|
|
+ |
# Launch the installer by double clicking on it.
|
|
|
+ |
# Follow the prompts to finish the installation.
|
|
|
|
|
|
|
+ |
====Installing OSEcomm====
|
|
|
+ |
To install OSEcomm follow the steps below.
|
|
|
+ |
# Download OSEcomm from the [[#Software|Software Downloads section]].
|
|
|
+ |
# Open the zip file by double clicking on it.
|
|
|
+ |
# Launch the installer by double clicking on it.
|
|
|
+ |
# Follow the prompts to finish the installation.
|
|
|
|
|
|
|
+ |
====Setting Up the Host====
|
|
|
+ |
We will need to configure OSEcomm to communicate with your device before we can download any data.
|
|
|
+ |
From the main screen, click 'Options' and then 'Communication Settings'. You can set up OSEcomm to communicate using this window.
|
|
|
+ |
Click 'RS232' from the left hand column. You should see a screen like the one pictured at right.
|
|
|
|
|
|
|
+ |
1. Choose the COM port for the OPH5000i
|
|
|
+ |
::The OPH5000i will show as 'Opticon USB Code Reader (2D) (COMx)' where x will be the virutal COM port number assigned by your Windows PC
|
|
|
+ |
2. Baudrate set to '115200'
|
|
|
+ |
3. IrDA Adapter set to 'None'
|
|
|
+ |
4. Protocol Type set to 'Continuous'
|
|
|
|
|
|
|
+ |
#Click the 'browse' folder icon at right to change where OSEcomm will place the text file with your data in it. For example, you could choose to place it on the Desktop. OSEcomm will then download your data to a text file on your Desktop. It defaults to calling it "data.txt"
|
|
|
+ |
#Choose between 'Append', 'Overwrite', and 'Unique' to determine what OSEcomm does with downloaded data when you start a download but a file by that same name is already present.
|
|
|
+ |
## Choose Append to add the data to the end of the file. This is usually the safest option.
|
|
|
+ |
## Choose Overwrite to delete the existing data and replace it with the new data.
|
|
|
+ |
## Choose Unique to only Overwrite entries where the data has changed.
|
|
|
|
|
|
|
+ |
When you have completed the above steps, OSEcomm is configured to communicate with your OPH5000i. Click 'OK' to return to the Main Screen.
|
|
|
+ |
From the Main Screen, click 'File', and then 'Save As' to save these settings. If you choose not to save your settings, you will have to configure OSEcomm each time you open it.
|
|
|
+ |
Enter a name for your settings file, like "OPH5000i" or "OSEcomm Settings." Every time after this that you open OSEcomm you must select 'File', then 'Open' and select this file to load your settings.
|
|
|
|
|
|
|
+ |
Now we are ready to begin downloading data from your OPH5000i. To do this, select 'Protocol' then 'Start' from the main screen.
|
|
|
|
|
|
|
+ |
OSEcomm is now in 'Polling' mode. You should see the yellow light on the cradle blinking steadily. This means that OSEcomm is checking the cradle for a device, and waiting for the right response. When it detects a device on the cradle it will start the download automatically. Multiple downloads can all be done without ever closing OSEcomm by simply placing another device in the same cradle after your first device is done downloading.
|
|
|
|
|
|
|
+ |
When you are done using OSEcomm simply select 'Protocol', then 'Stop' and OSEcomm will stop polling. The application can then be closed.
|
|
|
|
|
|
|
+ |
====Starting the Upload from your OPH5000i====
|
|
|
+ |
After OSEcomm is in Polling mode (see above) we are ready to download data from the OPH5000i.
|
|
|
+ |
# Select 'Transmit Data' from the main menu by using the arrow keys to move up and down and Scan to select an option. The correct option is pictured at right.
|
|
|
+ |
::The screen that appears should say "Transmit Data NETO Protocol."
|
|
|
+ |
# OSEcomm will indicate that the data was downloaded by saying "Download Complete." The OPH5000i will then go back to the main menu transmit data screen.
|
|
|
|
|
|
|
+ |
You can find the data file in the folder you chose above.
|
|
|
|
|
|
===MSD Mode=== |
|
===MSD Mode=== |