DataWedge User Guide PDF
DataWedge User Guide PDF
DataWedge User Guide PDF
Table of Contents
Overview............................................................................................................................... 2
Menu Functions .................................................................................................................... 3
Setup Dialog.......................................................................................................................... 3
Test Window......................................................................................................................... 4
AutoPIE Mode ...................................................................................................................... 5
Registry Settings ................................................................................................................... 6
Params Dialog....................................................................................................................... 7
Codes Dialog......................................................................................................................... 8
Installation............................................................................................................................. 9
Overview
DataWedge provides a convenient mechanism for non-scanning-aware applications
to receive data from scanned barcodes. The following characteristics of DataWedge
can be setup in the Registry:
Figure 1
Figure 2
Symbol Technologies, Inc
Copyright 2005
Page 2
suffix (the data sent after the barcode data) can be adjusted.
Note: The User Interface of this application may look different when run on different
terminals with different screen sizes.
Menu Functions
Config
Scan
Scan Params
Codes
Displays the Codes Dialog to enable or disable code types and set
options for each type.
Disable
Launch
About
Exit
Setup Dialog
The Setup Dialog allows configuration of DataWedge options.
Two data entry fields are used to display and allow entry or editing of prefix and
suffix strings. The prefix string, if present, is transmitted before the data for any
barcode scanned. The suffix string, if present, is transmitted after the data for any
barcode scanned.
The following checkboxes are used to display and allow modification of various
DataWedge options:
Allow escapes in prefix/suffix (default = disabled)
Copyright 2005
Page 3
Backspace
\f
Form feed
\n
\r
Carriage return
\t
Tab
\xHH
\vHH
All options changed in the Setup Dialog are saved in the registry and hence will
persist across a warm boot of the device. If it is desired to persist these options
across a cold boot, then the Registry should be captured and placed into a .REG file.
Test Window
The Test Window displays a scrolling list of the actions performed while it is open.
This includes information about barcodes scanned as well as changes made as a
result of certain menu functions. The Test Window is typically used to test
configuration changes and ensure that barcodes are being scanned and transmitted
Copyright 2005
Page 4
in the desired manner. When the Test Window is hidden, DataWedge again sends
all scanned barcodes to the current foreground application via keyboard messages.
AutoPIE Mode
DataWedge supports an AutoPIE mode that is designed to integrate with Microsoft
Pocket Internet Explorer (PIE) on Pocket PC 2002 or Pocket PC 2003 devices
ONLY.
When AutoPIE mode is enabled, DataWedge looks to see if Pocket Internet Explorer
is running and if there is an empty data entry field on the currently displayed web
page. If PIE is not running or there is no empty data entry field on the currently
displayed web page, then scanning is NOT enabled. This can result in improved
battery life as well as less user confusion, since the scanner will not come on, even if
the trigger is pressed, when there is nowhere for the data to go. While scanning is
not enabled, DataWedge periodically re-checks to see if the conditions necessary to
enable scanning have changed.
If DataWedge finds that PIE is running and that there is at least one empty data
entry field on the currently displayed web page then DataWedge makes PIE the
foreground window, sets the input the focus to the first empty data entry field, and
then enables scanning. While scanning is enabled, DataWedge periodically rechecks to make sure that the conditions necessary to enable scanning remain
present. If the condition cease to be met, then scanned is disabled. When a
barcode is scanned, DataWedge re-checks to make sure that PIE is running and
that there is at least one empty data entry field on the currently displayed web page.
If so, then DataWedge makes PIE the foreground window, sets the input the focus to
the first empty data entry field, and then sends the data (prefix, barcode, and suffix)
as keyboard messages. DataWedge then repeats the check to determine if
scanning should be enabled again.
The net effect of enabling AutoPIE mode is that scanning is only enabled when PIE
is running and there is an empty data entry field on the currently displayed web
page. Further, when data is transmitted, steps are taken to ensure that it arrives at
an appropriate destination. AutoPIE mode therefore increases the effectiveness of
scanning into web-based applications.
To select AutoPIE mode, either select the "Send Keys only to Pocket IE" check box
in the Setup Dialog or by add an appropriate Registry setting as defined in the next
section.
Copyright 2005
Page 5
Registry Settings
DataWedge
Name
AutoPIE
Type
Scanner
dword
All
dword
code
string
Prefix
string
Suffix
string
AutoTab
dword
AutoEnter
dword
Binary
dword
Type
Data
dword
dword
dword
Description
Default
0 = disable
SCN1
default for
selected
scanner
default set
for selected
scanner
none
none
0 = do not
send
0 = do not
send
0 = convert
1 =
background
1 = send
data
Note: If this is entry is set to 0, only the prefix and suffix (if present),
and any terminator (e.g. AutoTab or AutoEnter) will be sent.
Copyright 2005
Page 6
The following default values are used if no registry settings are present.
Scanner=SCN1:
scanner default decoders
Prefix=""
Suffix=""
AutoTab=false
AutoEnter=false
Binary=false
Data=true
Type=Background
Params Dialog
The Params Dialog is used to change scanning parameter options and affects future
barcodes scanned. The following parameters can be altered:
Code ID - Selects the code type reporting prefix to be added to the data to indicate the type of
barcode scanned. The possible values are:
Symbol
AIM
None
Scan Type - Selects the type of scan to be performed. The possible values are:
Foreground
Background
Monitor
Feedback parameters - These buttons invoke sub-dialogs to control various types of feedback. The
same settings can be controlled for each type.
Good Decode
Start
Intermediate
Copyright 2005
Page 7
Fatal
Nonfatal
Codes Dialog
The Codes Dialog is used to enable or disable code types and set options for each
type and affects future barcodes scanned. The list of code types will vary based on
the capabilities of the scanner. The Upc/Ean General entry is actually a set of
general purpose parameters that apply to all UPC and EAN code types.
Checking or unchecking the check box next to a code type enables or disables it,
respectively.
When a code type is selected (highlighted) the following buttons can be used to
affect the code type.
Param
Invoke the Code Parameters Dialog for the selected code type.
Length
Invoke the Code Lengths Dialog for the selected code type.
Copyright 2005
Page 8
than the Maximum Length, then a range is selected which includes are values
between the two lengths, inclusive. If the Minimum Length is greater than the
Maximum Length, then the two length values indicated by Minimum Length and
Maximum Length are selected. If the Minimum Length is equal to the Maximum
Length, then only that single length is selected.
Not all code types support all combinations. Some code types (e.g. UPC, EAN)
always have fixed lengths and hence ignore the length settings specific. Other code
types may impose limits on the possible lengths. The Code Lengths Dialog does not
attempt to enforce these code type-specific restrictions.
Installation
Download Package
The download package for DataWedge contains the following components:
Component
DataWedge User Guide.PDF
DataWedge.exe
DataWedge.exe
DataWedge.cpy
Folder
DataWedge.reg
Startup\DataWedge.run
\Application
\Application
\Bin\PPC
\Bin\WCE
\Application
Description
User Guide
Executable for Pocket PC devices
Executable for Windows CE devices
CPY file used to copy the executable into the
Windows folder
REG file used to persist program options
RUN file use to automatically launch the application
at startup
Install Procedure
To install DataWedge so that it is launched automatically after a cold boot, do the
following:
1. Unzip the DataWedge download package into a temporary folder on your PC.
2. If installing on a Pocket PC device, copy \Bin\PPC\DataWedge.exe from your
PC to the \Application folder on the device
If installing on a Windows CE device, copy \Bin\WCE\DataWedge.exe from
your PC to the \Application folder on the device.
3. Copy \Application\DataWedge.cpy and \Application\DataWedge.reg from your
PC to the \Application on the device.
4. Copy \Application\Startup\DataWedge.run from your PC to the
\Application\Startup folder on the device.
5. Cold boot the device.
Copyright 2005
Page 9