# Creating a Source Batch

1. Go to the Sources menu, then select Batch sequence on the left navigation.

2. Click the plus icon in the top right of the workspace.

3. Give the Source Batch a name

4. Set the Abort on new identifier to Yes if scanning a new identifier string should abort the previous scan.

5. Select the Identifier method (String for text, or Number for numerical strings)

6. Set Free order to On if the strings should be able to be scanned in any order.

   Identifier strings can be made up of up to 4 different strings. When free order is set to No, the strings need to be scanned in a specific order for the system to recognize the string.

7. If required, add an identifier string by clicking on the Plus icon in the Identifier string configuration section.

8. Click on the Name label for the identifier string you want to change the properties of (pop-up window). The following properties can be indicated per string:

   - Name - the name of the string

   - Length - the length of the string. See Combining Identifier Strings for more information on concatenating strings.

   - Significant positions - used to specify which characters in the barcode string to read when putting together the string to match with your pre-defined string. The number of significant positions must match the number of characters in the pre-defined strings.

   - Saved positions - indicate which parts of each string used in the Source Batch is saved, and how they are represented in the log. In this field, indicate the positions in the string that need to be saved. Positions can constitute only parts of the entire string. If the field is left empty, the entire (concatenated) string will be saved. The table below shows some examples of saved position combinations.

     Saved position values are comma-separated (without spaces), and ranges are indicated using a hyphen.

   Identifier string | Positions
   --- | ---
   String 1: 1234567 | 1-7
   String 2: abcdef | 8-13
   String 3: GHIJKL | 14-19
   String 4: 890 | 20-22

   Saved position examples
   Saved positions | Saved results
   --- | ---
   (empty) | 1234567abcdefGHIJKL890
   1-3,9,11,15,20-22 | 123bdH890
   8-12,1-7,19,20-21 will be changed automatically to: 1-12,19-21 | 1234567abcdeL89

   The ID field in the string properties window cannot be altered, but can only be used to navigate between the different strings.

   An error may occur when Free order is set to On, and the lengths of the different strings are duplicated. The scanned sequence will then not activate a tightening program. To remedy this error, set Free order to Off, or adjust the string lengths.

9. Click Edit.

10. In the Edit window, indicate which strings (in the String contains column) should be linked to which Batch sequence (in the Activates column). Click the plus icon at the bottom to add more strings.

    Wildcards can be used when typing the "string contains". The wildcard(s) can be used at any position in the string. No Batch sequence is activated in case of an ambiguous matching result.

    The wildcard is a . (period)

Relevant Information

- Configuring Significant Positions to Read in Barcode String