Skip to content

Zebra TC52 DataWedge settings for the WMS app

Set up DataWedge on a Zebra TC52 for the Afosto WMS app: Profile0, keystroke output, key events, Enter after each scan and a test scan, step by step.

The Afosto WMS app runs in the browser at scan.afosto.app, so there is nothing to install. On a Zebra TC52 you scan with the built-in scanner. For that you set up DataWedge, the scan service that comes pre-installed on every Zebra Android device. The goal: every scan reaches the WMS app as key presses, followed by Enter.

This table shows all DataWedge settings for the TC52 at a glance. The steps below show where to find each one.

DataWedge settingValue
Profile0: Profile enabledOn
Barcode input: EnabledOn
Keystroke output: EnabledOn
Action key characterNone
Key event options: Send Characters as EventsOn
Key event options: Send Enter as stringOff
Inter character delay0 ms
Basic data formatting: EnabledOn
Send dataOn
Send ENTER keyOn
Send TAB keyOff
Send as hexOff
Prefix and suffix to dataEmpty

Before you start

  • Open scan.afosto.app in Chrome on the TC52 and log in.
  • Add the WMS app to the home screen, so it opens full screen. See Install as PWA.
  • Connect the TC52 to your warehouse Wi-Fi. The WMS app needs a network connection and has no offline mode.
  • The WMS app is in Dutch. This guide gives screen names in Dutch with a translation.

How the WMS app reads a scan

The WMS app listens for key presses on the whole screen, so you don't tap a field before you scan. Enter after the code ends the scan straight away.

The characters of one scan must arrive quickly after each other. If they come in too slowly, the app treats them as typing and not as a scan. And if a text field has focus, the scan goes into that field instead.

So DataWedge has to send the barcode as keystrokes, as key events, without delay and with Enter at the end. The steps below set exactly that.

Step 1: Open Profile0 in DataWedge

  1. Open the DataWedge app on the TC52.
  2. Tap Profile0 (default).
  3. Check that Profile enabled is on.

Profile0 applies to every app that has no DataWedge profile of its own. That includes Chrome and the WMS app on your home screen.

Has someone made a separate DataWedge profile for Chrome on this device? Then Chrome uses that profile and not Profile0. Make the same settings in that profile.

Step 2: Check barcode input

Under Barcode input, check that Enabled is on.

The common barcode types, such as EAN-13, Code 128 and QR Code, are on by default. Keep it that way. The barcodes for Configure via barcode are QR codes.

Step 3: Set up keystroke output in DataWedge

The WMS app reads scans as keystrokes. Keystroke output sends each scan to the app as if you typed it on a keyboard.

  1. Under Keystroke output, check Enabled.
  2. Set Action key character to None. DataWedge then adds no extra key presses based on characters inside the barcode.
  3. Leave Inter character delay at 0 ms.

DataWedge Profile0 on a Zebra TC52: Keystroke output enabled and Action key character set to None

  1. Tap Key event options and turn on Send Characters as Events.
  2. On the same screen, leave Send Enter as string and Send Tab as string off. DataWedge then sends Enter as a key event, which is what the WMS app needs.

Why Send Characters as Events? This option is off by default. Without it, a scan only arrives in a text field that has focus. With it, DataWedge sends every character as a key event, so a web app that listens on the whole screen receives it too. Zebra calls it the critical setting for receiving scans as key presses.

Zebra's general advice for missing characters is to raise the inter character delay in steps of 100 ms. Don't do that for the WMS app. At that speed the characters arrive too slowly, and the app no longer sees them as a scan. Need a delay after all? Use 1 ms, and stay well under 30 ms per character.

Step 4: Send Enter after each scan

  1. Under Keystroke output, scroll down to Basic data formatting and tap it.
  2. Check Enabled.
  3. Turn on Send data and Send ENTER key.
  4. Turn off Send TAB key and Send as hex.
  5. Leave Prefix to data and Suffix to data empty.

Enter tells the WMS app that the scan is complete. Tab is not an end key for the app and only moves the focus on the screen. Send as hex sends a code like 012345 as 303132333435. A prefix or suffix becomes part of the code, so the app no longer finds the matching pick list or product.

Data formatting and ordering, in the same Keystroke output section, is a different setting, for UDI and multi-barcode scanning. You don't need it for the WMS app.

Step 5: Test a scan

  1. Open the WMS app and tap Picken (picking).
  2. Scan any barcode, without tapping a field first.
  3. The app opens the pick list with that number, or shows Geen picklijst gevonden (no pick list found) with the scanned code in bold.

Compare the code in bold with the number under the barcode. Are they the same? Then the TC52 is ready.

Picken only responds to scans once its settings are filled in. Do you see Geen instellingen (no settings)? Tap Instellingen aanpassen (adjust settings), fill them in and test again.

If scanning doesn't work

  • Nothing happens at all. In DataWedge, tap the menu on the Profiles screen and then Settings. Check that DataWedge enabled is on and that Chrome is not in the Disabled app list. Then go through steps 1 to 3 again.

  • A scan works in a text field, but not on the Picken screen. Send Characters as Events is off. Turn it on under Keystroke output, Key event options.

  • Characters are missing, or Configure via barcode shows "Barcode niet volledig gelezen, scan opnieuw" (barcode not fully read, scan again). Set the inter character delay to 1 ms and test again. Don't go higher than a few milliseconds.

  • The code arrives twice as long, for example 303132333435 instead of 012345. Send as hex is on. Turn it off under Basic data formatting.

  • It works in Chrome, but not in the WMS app on the home screen, or the other way round. A separate DataWedge profile is active for one of them. Check in DataWedge which profiles have Chrome or the WMS app under Associated apps, and make the same settings there.

Set up more TC52s at once

Set up one TC52 completely and test it. Then copy the setup:

  1. DataWedge. On the working TC52, open the menu on the Profiles screen, tap Settings and then Export. DataWedge saves the file datawedge.db in the Download folder. Copy it to the other TC52s and use Import there. Note: an import replaces all DataWedge settings on that device.
  2. WMS app settings. The modules, scan flow, printers and location of the WMS app are stored per device. Copy them with Configure via barcode.

Other Zebra Android devices use the same DataWedge settings. Menu names can differ slightly between DataWedge versions.

Zebra's own reference: Keystroke output, Basic data formatting and DataWedge settings.

About the WMS

Receive with the scanner, pick by location and ship from every warehouse.

Related documentation