Altova MobileTogether Designer

The Zebra Configure action (screenshot below) configures the Zebra scanner for barcode scans that are carried out subsequent to the action being triggered. Each Zebra Configure action defines one configuration setting. You can add as many Zebra Configure actions as you want to an event's action handler, and these actions will be executed in order from first to last.

 

Note:Since the MobileTogether client device must be connected to the Zebra scanner before any Zebra Configure action can be executed, make sure that a Zebra Connect action is triggered before any Zebra Configure action is triggered.
MTActionZebraConfig

To define a configuration, select a configuration option from the Zebra Configure dropdown list (see screenshot above) and then assign to it a configuration value. You can either select a value from the corresponding dropdown list or enter an XPath expression to select a valid value. The advantage of using an XPath expression is that the value can be selected dynamically (for example, from a node of a page source). If not explicitly noted in the list below, an XPath expression must evaluate to the string equivalent of one of the values in the corresponding dropdown list.

 

The following Zebra scanner configuration options are available. For more information about specific configuration options, see your Zebra scanner's documentation.

 

Enable/Disable Scanner: Available on Android and iOS. Can be used for enabling the scanner (XPath true()) or disabling it (XPath false()).

Beep (short, low frequency): Available on Android and iOS. Sets the scanner for short beeps at low frequency.

Set Scanner Mode: You can select whether to capture the barcode image (Image) or the barcode data (Barcode). Available on Android only and when the connection is of type Bluetooth Classic/Cradle Host or USB.

Beeper Duration (on scan): Available on Android and iOS. Sets the duration of the on-scan beep.

Beeper Volume: Available on Android and iOS. Sets the sound volume of the on-scan beep.

Beeper Frequency (on scan): Available on Android and iOS. Sets the tonal frequency of the on-scan beep.

LED On/Off: Available on Android and iOS. Sets whether the scanner's LED is enabled and, if enabled, what color the LED will be.

Start/Stop Tether Alarm: Available on Android and iOS. The scanner's tether alarm alerts users when the scanner is out of range of its base station. You can set whether to start the alarm (XPath true()) or stop it (XPath false()).

Start/Stop Trigger: Whether to start the use of the scanner's trigger (XPath true()) or to stop the use of the trigger (XPath false()). When trigger-use is specified, a barcode will be scanned only when the scanner's trigger is pressed. Otherwise, the trigger does not need to be pressed during a scan; in this case, a barcode will be scanned simply when placed in front of the scanner.

Get Device Info: Available on Android and iOS. Gets scanner-related information. This data will be passed to the $MT_ZEBRASCANNER page source tree and can be accessed from there.

General Get/Set: Available on Android and iOS. Allows you the flexibility of using your own XML or XML values to specify your own scanner settings and to get scanner data. You are responsible for setting this up with reference to the scanner's API.

 

MobileTogether extension functions

MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.

 

mt-bluetooth-started()

mt-zebra-scanner-id()

mt-zebra-scanner-connected()

 

© 2018-2024 Altova GmbH