Element Path: <cwt><CORE><barcodeReader>
Note: Only for AVE Main board |
The element barcodeReader defines which barcode scanner is used and which COM port it is connected to.
A barcode reader can be used to enter text on input panels instead of using the keyboard. The barcode reader is always off until activated. It is activated by a button on the input panel. It is turned off when a barcode has been scanned or a cancel/timeout occurs.
The scanned barcode text replaces the content in the input field.
If the scanned barcode text is longer than the MaximumLength defined for the input field, the text is not entered in the input field (the field is cleared if not empty) and the user is notified.
Attributes
autoButtonClickAfterScan
Range: | true / false |
Default: | false |
Description: | This attribute will control if an automatic button press in the UI will be executed after a barcode is read. "BarCodeReaderGoodScan" "BarCodeReaderBadScan" |
I.e after a successful read, an accept-button can be pressed automatically. or after a failed read a Reject and back-button can be pressed.
autoButtonClickAfterScanDelayTimeMs
Range: | 0-4294967295 |
Default: | 250mS |
Description: | Defines a time to wait before the button "BarCodeReaderGoodScan" or "BarCodeReaderBadScan" is pressed. |
name | ![]() |
Range: | None, ZEBRA-PL3307B |
Default: | None |
Description: | ZEBRA-PL3307B: Barcode scanner Zebra PL3307B is used. |
port | ![]() |
Range: | Com1, Com3, Com4, Com6, Com8, Com9 |
Default: | - |
Description: | Com port to use for barcode reader |
Example:
<CORE>
<outlets>
<outlet name="5V_COM_9" mode="BarcodeReader" />
</outlets
<barcodeReader name="ZEBRA-PL3307B" port="Com9" />
</CORE>
Important: The 5V outlet for the same COM port must also be set. Possible values: AlwaysOn, PowerSave or BarcodeReader. See outlets |