Specifying a Text Pattern

NI Vision Builder

Specifying a Text Pattern

Use the Pattern Setup dialog box to specify the valid characters for a character string. The first character in the list corresponds to the first character in the string, the second character in the list corresponds to the second character in the string, and so on. For each character in a string, you can specify the Type of character you expect to find in that position in the string. Specifying the character Type restricts the step to only search for valid characters of the specified Type, which improves the speed and accuracy of the character recognition process. Refer to the following table for a description of each character Type.

Note Note  The textbox next to the Type control is only valid when you select User-defined Characters for the Type. Enter the string of characters that are valid for the character position in the textbox. The specified string of characters must correspond to one of the character defined in the character set file.
Format Type Valid Characters for Corresponding Position
Any Character Any ASCII character
User-defined Characters Uses characters you specify in the User-defined characters string.
Alphabets A–Z
a–z
Alphanumeric A–Z
a–z
0–9
Uppercase Letters A–Z
Lowercase Letters a–z
Decimal Digits 0–9
Hexadecimal Digits 0–9
A–F
Pattern Any Pattern
Force Space Ignores the read character and forces a space at the corresponding position