0% found this document useful (0 votes)
38 views

Sample Applications: Default Batch Example

There are two sample batch applications included with the Optimus units: a default batch example and a batch with lookup example. The default example illustrates collecting barcode data and quantities to create an inventory file. The batch with lookup example expands on this by using a lookup file to return item descriptions and existing quantities when data is entered. Both examples demonstrate downloading programs and data to the Optimus unit, running the programs to collect data, and uploading the collected data back to the host computer.

Uploaded by

Rafet Shemsidini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Sample Applications: Default Batch Example

There are two sample batch applications included with the Optimus units: a default batch example and a batch with lookup example. The default example illustrates collecting barcode data and quantities to create an inventory file. The batch with lookup example expands on this by using a lookup file to return item descriptions and existing quantities when data is entered. Both examples demonstrate downloading programs and data to the Optimus unit, running the programs to collect data, and uploading the collected data back to the host computer.

Uploaded by

Rafet Shemsidini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Sample Applications

There are several sample applications included with the installation CD to illustrate some of the
basic and extended functionality that the Optimus units contain. There are several examples of
batch applications, where the data is stored on the unit and then transmitted back to the host. All
samples are included in the “Sample Optimizer Applications” folder installed by default at
“C:\Program Files\Metrologic Instruments\Optimus”.

Default Batch Example

This program illustrates how to collect bar code data and assign a quantity to it, which is useful
for creating an inventory file. This is the sample program that ships by default on the Optimus
batch units. Below are the steps to open the program, load it to the Optimus, collect data, and
upload the data back to the host system.

1. Click on the “Start” menu on the bottom left of your screen.


2. Click on “Programs”, then “Optimus Software”, and finally “Optimizer”. The Optimizer
program should open up (see Figure 1).

Figure 1: Optimizer at Startup

3. Click on the “File” menu and then “Open”.


4. Browse to the “Sample Optimizer Applications” folder (by default located in “C:\Program
Files\Metrologic Instruments\Optimus”).
5. Click on the “Batch Examples” folder and open either “OptimusS Default Example.opt” or
“OptimusR Default Example.opt” depending on your terminal type.
6. On your Optimus unit, press “ESC” until you are at the main menu. Choose the “Utilities”
option, then the “Transfer Files” option, and finally the “Get Program” option. Confirm the
unit’s baud rate and method of communication. Place the unit in its cradle, or if the unit has
the ability for direct connection, connect the communication cable to the unit.
7. From the Optimizer program, choose the “Tools” menu item, then “Communication”, and
finally “Download Program”. The Optimizer window will minimize and the download window
will open (see Figure 2).

Figure 2: Download Window

8. Choose the correct option for your download type:


a. If you are going through a cradle, you should download via “Cradle-IR”.
b. If you are directly connected, you should download via “RS232 or IrDA”.
9. Make sure the COM port number matches the port number into which your cradle or unit is
plugged.
10. Make sure the Baud rate matches the baud rate of the unit. Press OK and downloading will
commence.
11. After download is complete, choose the “Run Program” option on your Optimus. A screen
will come up with “Item:” and “Qty:” displayed. You can now begin collecting data.
12. Scan a bar code for the “Item” field and enter a quantity to associate with this bar code.
13. After you are finished, press “ESC” on the Optimus until you get to the main menu. Choose
the “Utilities” option, then “Transfer Files”, and finally “Send Data”. Confirm the unit’s baud
rate and method of communication. Place the unit in its cradle, or if the unit has the ability for
direct connection, connect the communication cable to the unit.
14. From the Optimizer program, choose the “Tools” menu item, then “Communication”, and
finally “Receive Data”. The upload window will open (see Figure 3).
Figure 3: Upload Window

15. Select a directory and a file name to save your data into.
16. Choose the correct option for your download type:
a. If you are going through a cradle, you should download via “Cradle-IR”.
b. If you are directly connected, you should download via “RS232 or IrDA”.
17. Make sure the COM port number matches the port number into which your cradle or unit is
plugged.
18. Make sure the Baud rate matches the baud rate of the unit. Press OK and uploading will
commence.
19. After upload is complete, you will be asked if you would like to view your data. Select “Yes”
and a text file will appear with the data you have collected in the following format: bar code,
quantity.

Batch with Lookup Example

This program expands upon the functionality of the default batch example and illustrates how a
lookup file can be used to return specific information about data entered, like description of the
item and existing quantity in stock. This is useful for updating inventory files. Below are the steps
to open the program, load it to the Optimus, load a lookup file to the Optimus, collect data and
update the lookup file, and upload the data back to the host system.

1. Click on the “Start” menu on the bottom left of your screen.


2. Click on “Programs”, then “Optimus Software”, and finally “Optimizer”. The Optimizer
program should open up (see Figure 1).
3. Click on the “File” menu and then “Open”.
4. Browse to the “Sample Optimizer Applications” folder (by default located in “C:\Program
Files\Metrologic Instruments\Optimus”).
5. Click on the “Batch Examples” folder and open either “OptimusS Batch with Lookup
Example.opt” or “OptimusR Batch with Lookup Example.opt” depending on your terminal
type.
6. On your Optimus unit, press “ESC” until you are at the main menu. Choose the “Utilities”
option, then the “Transfer Files” option, and finally the “Get Program” option. Confirm the
unit’s baud rate and method of communication. Place the unit in its cradle, or if the unit has
the ability for direct connection, connect the communication cable to the unit.
7. From the Optimizer program, choose the “Tools” menu item, then “Communication”, and
finally “Download Program”. The Optimizer window will minimize and the download window
will open (see Figure 2).
8. Choose the correct option for your download type:
a. If you are going through a cradle, you should download via “Cradle-IR”.
b. If you are directly connected, you should download via “RS232 or IrDA”.
9. Make sure the COM port number matches the port number into which your cradle or unit is
plugged.
10. Make sure the Baud rate matches the baud rate of the unit. Press OK and downloading will
commence.
11. After download is complete, the Optimizer window will come back up on the screen. The
lookup file must now be downloaded to the unit. Choose the “Tools” menu item, then
“Communication”, and finally “Download Lookup table”. The lookup download window will
open (see Figure 4).

Figure 4: Lookup Download Window

12. Browse to the file “Lookup for Extended Example.txt” located in the same directory as the
sample program.
13. Choose the correct option for your download type:
a. If you are going through a cradle, you should download via “Cradle-IR”.
b. If you are directly connected, you should download via “RS232 or IrDA”.
14. Make sure the COM port number matches the port number into which your cradle or unit is
plugged.
15. Make sure the Baud rate matches the baud rate of the unit. Press OK and downloading will
commence.
16. After download is complete, choose the “Run Program” option on your Optimus. A screen
will come up with “Item:”, “Desc:”, and “Qty:” displayed. You can now begin collecting data.

Note: Since this is a lookup example, the bar codes must match the lookup information in
order to retrieve details of an item. Therefore, you must print out the “Bar Codes for Batch
with Lookup Examples.pdf” file that is included in the same directory as the lookup file and
scan the bar codes on this page to achieve proper functionality.

17. After you are finished, press “ESC” on the Optimus until you get to the main menu. Choose
the “Utilities” option, then “Transfer Files”, and finally “Send Data”. Confirm the unit’s baud
rate and method of communication. Place the unit in its cradle, or if the unit has the ability for
direct connection, connect the communication cable to the unit.
18. From the Optimizer program, choose the “Tools” menu item, then “Communication”, and
finally “Receive Data”. The upload window will open (see Figure 3).
19. Select a directory and a file name to save your data into.
20. Choose the correct option for your download type:
a. If you are going through a cradle, you should download via “Cradle-IR”.
b. If you are directly connected, you should download via “RS232 or IrDA”.
21. Make sure the COM port number matches the port number into which your cradle or unit is
plugged.
22. Make sure the Baud rate matches the baud rate of the unit. Press OK and uploading will
commence.
After upload is complete, you will be asked if you would like to view your data. Select “Yes” and a
text file will appear with the data you have collected in the following format: bar code, description,
quantity.

You might also like