Specifies the characters that are valid for each character position in the image.
OCR session on which the node operates.
To create a session, use the Create OCR Session node.
Array of characters that are valid for a particular read character position.
The valid characters are stored at the array index that corresponds with the index of the read character that OCR is currently evaluating. For example, if OCR is evaluating the read character at index 0, it compares that read character to the valid characters that are stored at index 0 in the array of valid characters. The number of elements in the array is the number of characters that OCR reads. OCR ignores any array elements beyond this number.
Pre-defined valid character strings.
The following characters are the pre-defined characters for the corresponding position:
Name | Value | Description |
---|---|---|
any character | 0 |
Any ASCII character |
user-defined characters | 1 |
Uses characters specified in the user-defined characters string. |
alphabets | 2 |
A-Z a-z |
alphanumeric | 3 |
A-Z a-z 0-9 |
uppercase letters | 4 |
A-Z |
lowercase letters | 5 |
a-z |
decimal digits | 6 |
0-9 |
hexadecimal digits | 7 |
0-9 A-F |
pattern | 8 |
Any Pattern |
force space | 9 |
Ignores the read character and forces a space at the corresponding position |
String of characters that is valid for the corresponding character position when pre-defined characters is set to user-defined characters.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
OCR session on which this node operates.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application