Professional Documents
Culture Documents
DataWedge User Guide
DataWedge User Guide
Version 2.02
Contents
Overview ............................................................. 1
1.1
Terminology..................................................................1
Installation ....................................................................3
Download Package...........................................3
Install Procedure .................................................3
2.2
2.3
Configuration ...................................................... 7
3.1
3.2
3.3
3.4
Test Window...................................................... 27
Appendix .......................................................... 29
5.1
Non-touch Devices...................................................29
5.3
5.4
Contents
5.5
ii
1 Overview
DataWedge is a mobile device application that allows any application to receive
data from barcode, RFID, magnetic stripe and serial devices.
DataWedge runs on Windows CE 4.2, Windows CE 5.0, Windows Mobile 2003
and Windows Mobile 5.0 based mobile devices.
The DataWedge can be configured via the registry, for example, default barcode
parameters or the method of which the captured data is modified before sending
to the target application can be preconfigured via the registry.
The following characteristics of DataWedge can be setup in the Registry:
Scanner to use (if more than one available)
Type of reads to use (Foreground, Background, or Monitor)
Decoders to enable (Start from All or None then enable or disable individual
decoders)
Format in which to send data (Prefix, Suffix, Text/Binary, Auto Enter after,
Auto Tab after).
1.1
Terminology
Definitions of important and specialized terms and acronyms that are used in this
document are listed below.
MSR
2 Getting Started
2.1
Installation
Download Package
The download package for DataWedge contains the following components:
Component
Folder
Description
DataWedge User
Guide.PDF
User Guide
readme.html
README file
DataWedge.exe
\Bin\PPC
DataWedge.exe
\Bin\WCE
DataWedge.cpy
\Application
DataWedge.run
\Application\Start
up
No-Barcode.reg
\No-Barcode
Deactivate-RFID.reg
\Deactivate-RFID
DataWedge.lnk
\Link
DataWedge.cpy
\Link
Install Procedure
To install DataWedge so that it is launched automatically after a cold boot (Clean
boot on a Windows Mobile 5 device), do the following:
1.
2.
2.2
3.
4.
5.
DataWedge Menu
DataWedge can be manually or automatically launched on system startup.
Because it executes in the background, an icon is displayed in the system tray to
indicate that DataWedge is running. See Figure 1.
DataWedge Menu
DataWedge Icon
2.3
Menu Functions
Use the DataWedge menu to configure program options.
Note: The DataWedge User Interface the may look slightly different depending
on the screen size of the mobile device.
Barcode
RFID
Options
Serial
Serial Setup Displays the Serial Setup Dialog to set the Serial
interface parameters.
Test
Options
About
Exit
3 Configuration
3.1
Prefix/Suffix Dialog
The Prefix/Suffix dialog allows modification of the captured barcode data. To
access the Prefix/Suffix window for barcode device, select the DataWedge icon
then select Barcode - Prefix/Suffix.
Figure 3 - Prefix/Suffix
Two data entry fields are provided, one to send a string before the captured data
(Prefix) and another to send a string after the captured data (Suffix).
The Barcode, RFID, MSR and Serial devices all have this dialog. All options
changed in the Prefix/Suffix Dialogs are saved in the registry as well as in the
DataWedge.reg file. This allows the settings to persist across a cold or clean
boot of the device.
Note: The Prefix/Suffix settings are independent for each of the Barcode, RFID,
MSR and Serial devices.
\n
\r
\t
\xHH
\vHH
Send data
By default this checkbox is ticked.
When the checkbox is ticked, the Send data option is enabled. Enable this option
to transfer the captured data to a device.
Disabling this option prevents the actual data from been transmitted. The prefix
and suffix strings, if present, are still transmitted even if this option is disabled.
Feedback Dialog
Select Barcode - Feedback to access the Feedback dialog. The Feedback dialog
allows the user to set feedback parameters for the barcode device. The feedback
parameters indicate the status of the barcode read event.
Figure 4 - Feedback
Code ID Type
Code ID Type determines the list of Code ID Characters that is applied to the
barcode data. The Code ID Character is a uniquely defined character that
identifies the code type of a scanned bar code. This may be useful when the
reader is decoding more than one code type.
Tap on the button alongside Code ID Type to set the code ID parameter.
Possible values for Code ID Type are:
None
Symbol
AIM
10
Scan Type
Scan Type describes the mode of scan to be performed. Tap on the button
alongside the Scan Type field to set the desired mode. Possible values are:
Foreground
The scan takes place in the foreground, as the primary
user activity. Foreground reads combine only with other foreground
reads and preempt background reads.
Background
The scan takes place in the background, but only if no
foreground reads are pending.
Monitor
Feedback Parameters
The buttons on the Feedback Parameters dialog are used to set values for the
feedback parameters of the device. The user alert mechanism (e.g. beep time,
beep frequency, etc.) for different events (e.g. good decode, error, etc) behaves
according to the values set in the feedback parameters.
These buttons invoke sub-dialogs to control various types of feedback. The
same settings can be controlled for each type. Press the appropriate button for
an event to open the feedback parameters window for that particular event.
11
Wave File sound file to be used instead of the factory default feedback beep.
Tapping this button changes the wave file to be used. By default DataWedge
looks in the \Application\Wav folder for the wave file it can use. This folder can
be changed via a registry setting (refer to Registry Settings).
Beep Time Defines the time duration in milliseconds for the beep.
Freq (Hz) Defines the frequency of the beep.
LED Time Defines the duration in milliseconds for the device scanners LED to
stays lit after a decode
Press the OK button to save the settings and exit the Feedback Parameter sub
dialog.
Press the Cancel button to exit the Feedback Parameter sub dialog without
saving the settings.
12
Selecting or deselecting the check box next to a code type enables or disables it,
respectively.
The functionalities of the four buttons displayed at the bottom of the Barcode
Decoders dialog are as follows.
OK
Param Invokes the Code Parameters Dialog for the selected code type.
Length
Invokes the Code Lengths Dialog for the selected code type.
Note: The Param and Length values for certain decoder types cannot be set.
Cancel Exits the Barcode Decoders dialog without making any changes to the
device.
13
14
3.2
Prefix/Suffix Dialog
The Prefix/Suffix dialog allows modification of the data captured from the RFID
reading device. To access the Prefix/Suffix dialog, select the DataWedge icon
then select RFID - Prefix/Suffix.
Note: The Barcode, RFID, MSR and Serial devices all have this dialog in
common allowing individual modification of their captured data. All options
changed in the Prefix/Suffix Dialogs are saved in the registry as well as in
the DataWedge.reg file. This allows the settings to persist across a cold
or clean boot of the device. Refer to the Barcode Prefix/Suffix Dialog for
details.
15
Feedback Dialog
Select RFID - Feedback to access the Feedback dialog. The Feedback dialog
allows configuration of feedback parameters of the RFID device. The feedback
parameters indicate the status of the RFID read event.
Figure 10 - Feedback
Select No Feedback to disable the feedback functionality for the RFID device. By
default this option is disabled.
Select the sound file from the Feedback Wavefile combo box. User can set a
preferred sound file instead of the factory default feedback beep from the combo
box.
Select Feedback Beep radio button to configure the parameters of the default
feedback beep.
Beep Time Defines the time duration in milliseconds for the beep.
Freq (Hz) Defines the frequency of the beep
LED Time Defines the duration in milliseconds for the device scanner LED
stays lit.
Press OK button to save the settings and exit the Feedback Parameter screen.
Press Cancel button to exit the Feedback Parameter sub dialog without
changing the settings.
16
Note: The RFID, MSR and Serial Devices have this dialog in common allowing
individual feedback settings.
Options Dialog
Select RFID Options to access the RFID device options. Use the RFID Options
dialog to set the following RFID parameters.
17
Press Cancel button to exit the RFID Options screen without changing the
settings.
Starting - This refers to the starting value of the slot-count parameter Q. This
option sets the number of slots in the first inventory round of the
inventory algorithm to 2Q. A higher starting Q value should be chosen
when the number of tags expected in the field is high. Q=4 is a good
all-round setting for the MC9000-RFID.
18
3.3
Prefix/Suffix Dialog
The Prefix/Suffix dialog allows modification of the data captured from the MSR
reading device. To access the Prefix/Suffix dialog, select the DataWedge icon
then select MSR - Prefix/Suffix.
Note: The Barcode, RFID, MSR and Serial devices all have this dialog in
common allowing individual modification of their captured data. All options
changed in the Prefix/Suffix Dialogs are saved in the registry as well as in
the DataWedge.reg file. This allows the settings to persist across a cold
or clean boot of the device. Refer to the Barcode Prefix/Suffix Dialog
above for details.
19
Feedback Dialog
Select MSR - Feedback to access the Feedback dialog. The Feedback dialog
allows configuration of feedback parameters for the MSR device. This specifies
the feedback that is given on a successful MSR swipe.
Figure 14 - Feedback
Note: The RFID, MSR and Serial Devices have this dialog in common allowing
individual feedback settings. Please refer to the RFID Feedback Dialog
for details.
20
Options Dialog
Select MSR Options to access the MSR device options. Use the MSR Options
dialog to set the MSR type for the device.
21
3.4
Prefix/Suffix Dialog
The Prefix/Suffix dialog allows modification of the data captured from the serial
barcode reading device. To access the Prefix/Suffix dialog, select the
DataWedge icon then select Serial - Prefix/Suffix.
Note: The Barcode, RFID, MSR and Serial devices all have this dialog in
common allowing individual modification of their captured data. All options
changed in the Prefix/Suffix Dialogs are saved in the registry as well as in
the DataWedge.reg file. This allows the settings to persist across a cold
or clean boot of the device. Refer to the Barcode Prefix/Suffix Dialog
above for details.
22
Feedback Dialog
Select Serial - Feedback to access the Feedback dialog. The Feedback dialog
allows configuration of feedback parameters for the Serial device. This is the
feedback that is given when the captured data meets the criteria defined in the
Options dialog.
Figure 17 - Feedback
Note: The RFID, MSR and Serial Devices have this dialog in common allowing
individual feedback settings. Please refer to the RFID Feedback Dialog
for details.
23
Options Dialog
Select Serial Options to access the Serial Options dialog. Use the Serial
Options dialog to set the serial device parameters.
LF Received
CR+LF received
ASCII Character
24
Characters
Seconds -
25
COM1
Stop Bits
Parity
None
26
4 Test Window
The Test Window displays information processed from the data captured by the
MSR, RFID, Barcode or Serial devices.
Figure 20 - Test
The Test Window is typically used to ensure that the captured data is been
transmitted as expected. When the DataWedge Test Window is closed, normal
operation resumes sending any captured data to the foreground application.
A Menu bar with all of the DataWedge functions is available within the
Test Window.
27
5 Appendix
5.1
Non-touch Devices
29
5.2
AutoPIE Mode
AutoPIE mode allows DataWedge to work correctly with Pocket Internet Explorer.
Some past versions of Pocket IE did not allow navigation of web forms using the
TAB key. AutoPIE mode allows DataWedge to overcome this limitation. In
addition, AutoPIE mode only enables the scanner when the cursor is on a field
that can accept keyboard input. This allows for better power management and
eliminates any confusion caused by scanning when there is no field to accept the
data.
30
5.3
Registry Settings
The following default values are used if no registry settings are present.
Scanner=SCN1:
Prefix=""
Suffix=""
AutoTab=false
AutoEnter=false
Binary=false
Data=true
Type=Background
Name
Type
Description
Default
Enable
Barcode on
startup
dword
1 = enable
Enable RFID
on startup
dword
1 = enable
Enable MSR
on startup
dword
0 = disable
Enable
Serial on
startup
dword
0 = disable
UI Enabled
dword
If MC1000
0 = disable
else
1 = enable
31
Typ
e
Description
Default
AutoPIE
dwor
d
0 = disable
Scanner
dwor
d
SCN1
All
dwor
d
default for
selected
scanner
code
strin
g
In addition to using the defaults or the All entry, default set for
individual barcode types can also be enabled or selected
scanner
disabled. This is done using the same format,
but with the barcode type name instead of the
All keyword. For example, PDF417=1, enables
the scanner for PDF417 decoding, while
PDF417=0 disables it. The possible barcode
types are: UPCE0, UPCE1, UPCA, MSI, EAN8,
EAN13, CODABAR, CODE39, D2OF5, I2OF5,
CODE11, CODE93, CODE128, PDF417,
TRIOPTIC39, RSS14, RSSLIM, RSSEXP,
WEBCODE
Prefix
strin
g
none
Suffix
strin
g
none
AutoTab
dwor
d
0 = do not
send
AutoEnter
dwor
d
0 = do not
send
32
Binary
dwor
d
0 = convert
dwor
d
1 = send data
dwor
d
1=
background
dwor
d
0 = None
binar
y
33
binar
y
Feedback
Intermediate
binar
y
Feedback
Fatal
binar
y
Feedback
NonFatal
binar
y
Feedback
Activity
binar
y
code_MINLE
N
dwor
d
code_MAXL
EN
dwor
d
code_PARA
MS
binar
y
34
35
Type
Description
Default
AutoPIE
dword
0 = disable
Prefix
string
none
Suffix
string
none
AutoTab
dword
0 = do not send
AutoEnter
dword
0 = do not send
Binary
dword
0 = convert
dword
1 = send data
36
dword
4 = beep
BeepTime
dword
500
BeepFreq
dword
3000
LEDTime
dword
3000
WaveFile
string
37
Type
Description
Default
AutoPIE
dword
0 = disable
Prefix
string
none
Suffix
string
none
AutoTab
dword
0 = do not send
AutoEnter
dword
0 = do not send
Binary
dword
0 = convert
dword
1 = send data
38
dword
4 = beep
BeepTime
dword
500
BeepFreq
dword
3000
LEDTime
dword
3000
WaveFile
string
39
Type
Description
Default
AutoPIE
dword
0 = disable
Prefix
string
none
Suffix
string
none
AutoTab
dword
0 = do not send
AutoEnter
dword
0 = do not send
Binary
dword
0 = convert
dword
1 = send data
40
sent.
0 = don't send barcode data
1 = send barcode 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) is sent.
Feedback
dword
4 = beep
BeepTime
dword
500
BeepFreq
dword
3000
LEDTime
dword
3000
WaveFile
string
41
5.4
RS232 Scanners
Bluetooth Scanners
RS232 Scanners
To enable serial scanning;
1. Connect the correct cradle/adapter to the terminal and also ensure that
the correct serial cable is connected to the cradle/adapter. Make sure the
other end of the serial cable is connected to the proper serial scanner
according to the specification of the particular scanner.
2. Ensure that adequate power is provided to the scanner as per its
specification.
3. Ensure that the scanner is in RS232 mode. This could be verified by
connecting the scanner to a Desktop PC with a COM port and checking
with the HyperTerminal application on PC whether the scanned barcodes
could be viewed in HyperTerminal.
4. From the DataWedge menu select Serial Serial Setup to access the
Serial Setup dialog. From this, select the appropriate settings.
5. Now select Serial Options dialog and make sure the required options
are set. (See Options Dialog). The proper combination of checkboxes
from the Options dialog should be selected to enable DataWedge to
transmit scanned data to the selected application.
Appendix Figure 1
42
CR received
If this option is selected DataWedge expects a Carriage
Return at the end of the data from the scanner. Therefore,
DataWedge does not transmit data to the foreground
application if there is no Carriage Return in the received data.
The following figure shows the configuration which suits most general
scenarios.
Appendix Figure 2
6. Having performed the steps above select Serial Enable to enable the
serial connection.
Bluetooth Scanners
DataWedge has been tested with the Symbol LS4278 Bluetooth Scanner. The
following text describes how to use a LS4278 Scanner with DataWedge.
1. On the Terminal make sure that Bluetooth is enabled and the Bluetooth
icon is displayed as follows
2. Make sure the LS4278 BlueTooth Scanner is in Serial Port Profile (Slave
Mode) (Refer Page 12 of Symbol LS4278 QRG for details)
3. From within the Serial Setup dialog select Bluetooth COM Port as the
Port.
4. Then select Serial Options dialog from the DataWedge Menu and set
the correct options as per Step 5 of the RS232 Scanner Setup. For
Bluetooth devices it is recommended that the Re-establish on Resume
check box is checked. This ensures that the BlueTooth connection is reestablished after a terminal suspend-resume cycle. This is depicted in
below figure.
43
Appendix Figure 3
5. Now the Bluetooth Explorer is invoked as a result of opening the
Bluetooth Virtual COM Port as depicted in the following screen.
Appendix Figure 4
6. Once the scanner is discovered, select the scanner and press Next.
44
Appendix Figure 5
7. In the Connection Favorite Options dialog press Next. In this step make
sure that Save As Favorite check box is checked, which enables
seamless connectivity to the scanner on subsequent Suspend/Resume
cycles.
Appendix Figure 6
8. Then select Connect in the Connection Summary dialog.
45
Appendix Figure 7
9. After a successful connection is established, the Bluetooth icon should
change as shown in following figure.
10. Finally to test that everything is working, select the Test dialog in
DataWedge and scan a barcode to verify connectivity.
5.5
Special Notes
46
47