DataWedge
154
• Visible profiles:
• Profile0 - created automatically the first time DataWedge runs. Generic profile used when there are no
user created profiles associated with an application.
• Launcher - enables scanning when the Launcher is in foreground.
• DWDemo - provides support for the DWDemo application.
Some Zebra applications are capable of capturing data by scanning. DataWedge is pre-loaded with private
and hidden profiles for this purpose. There is no option to modify the private profiles.
Profile0
Profile0 can be edited but cannot be associated with an application. That is, DataWedge allows manipulation
of plug-in settings for Profile0 but it does not allow assignment of a foreground application. This configuration
allows DataWedge to send output data to any foreground application other than applications associated with
user-defined profiles when Profile0 is enabled.
Profile0 can be disabled to allow DataWedge to only send output data to those applications which are
associated in user-defined profiles. For example, create a profile associating a specific application, disable
Profile0 and then scan. DataWedge only sends data to the application specified in the user-created profile.
This adds additional security to DataWedge enabling the sending of data only to specified applications.
Plug-ins
A plug-in is a software module utilized in DataWedge to extend its functionality to encompass technologies
such as barcode scanning. The plug-ins can be categorized into three types based on their operations:
• Input Plug-ins
• Output Plug-ins
• Process Plug-ins.
Input Plug-ins
An Input Plug-in supports an input device, such as a barcode scanner contained in, or attached to the device.
DataWedge contains base plug-ins for these input devices.
Barcode Scanner Input Plug-in – The Barcode Scanner Input Plug-in is responsible for reading data from the
integrated barcode scanner and supports different types of barcode readers including laser, imager and
internal camera. Raw data read from the barcode scanner can be processed or formatted using Process
Plug-ins as required. DataWedge has built-in feedback functionality for the barcode scanner to issue user
alerts. The feedback settings can be configured according to user requirement.
IMPORTANT: To avoid the unnecessary use of enable/disable scanner API calls, Zebra recommends that apps
register to be notified of changes in scanner status (using the SCANNER_STATUS parameter of the
REGISTER_FOR_NOTIFICATION API). This enables apps to receive scanner status changes immediately
rather than having to query and wait for the result. Status-change notifications include the active Profile name,
which permits an app to use the enable/disable scanner API calls only when status changes effect a relevant
Profile.
Process Plug-ins
Process Plug-ins are used in DataWedge to manipulate the received data according to the requirement,
before sending to the foreground application via the Output Plug-in.