Setting up a Scanner for Batch Scanning
There are various scanner setups required for batch Scanning. These are described below
Scanning Validation
It is not possible for complete validation to occur when doing batch scanning. There is however some basic validation supported. The batch scanner includes a config file with the structure below:
<?xml version="1.0" standalone="yes"?>
<DataSet>
<Configuration>
<ScannerName>D3M0</ScannerName>
<BarcodeMin>1</BarcodeMin>
<BarcodeMax>3</BarcodeMax>
<QuantityMin>0</QuantityMin>
<QuantityMax>10</QuantityMax>
</Configuration>
</DataSet>
The barcode lengths and max and min quantity values can be configured using this file. The scanner name can also be set up here.
Scanner XML File
1. To set up a Function Area for the Batch Scanner, you will need an xml file in the Function Areas folder (which is a subdirectory of the Batch Scanner installation folder) on the scanner. The file must be named FunctionAreaName.xml, and must have the following structure (the tag details of course depend on the scanner prompts defined)
:
<?xml version="1.0" standalone="yes"?>
<StockTake>
<Structure>
<Prompt>Source Location</Prompt>
<Type>Barcode</Type>
<Sequence>1</Sequence>
<Next>2</Next>
<Previous>1</Previous>
<Timestamp>FALSE</Timestamp>
</Structure>
<Structure>
<Prompt>Product</Prompt>
<Type>Barcode</Type>
<Sequence>2</Sequence>
<Next>3</Next>
<Previous>1</Previous>
<Timestamp>FALSE</Timestamp>
</Structure>
<Structure>
<Prompt>Quantity</Prompt>
<Type>Quantity</Type>
<Sequence>3</Sequence>
<Next>2</Next>
<Previous>-1</Previous>
<Timestamp>TRUE</Timestamp>
</Structure>
</StockTake>
The outer tag (in this StockTake) must match the function area name and then each prompt must have a section called <Structure> which contains the Scanner Prompt and the details of the scanning sequence.