The text of a manual · part 15 of 34
HawkEye 1500 Series User Manual, pages 141 to 150
Pages 141 to 150 of 338
The original document is the PDF (3.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Microscan HE1510, RVSI CiMatrix HE1510 and Siemens HE1510
Page 141
Using ReadRunner
FIGURE 4–23. ReadRunner Camera Report Window
Text Matching enabled
Match List Triggered I/O
Match List may be used in conjunction with “serial number sequence matching.” If discrete output is required (i.e., only one line set in the result), use only match strings 1, 2, 4, and 8. Use of other match strings will result in more than one output bit being set in the result. For example, if match string 7 (binary 0111) is matched, MATCH_BIT_1, MATCH_BIT_2, and MATCH_BIT_3 will be set. Note: The Match List does not require image re-acquisition or re-decode using different PID settings, so it is much more efficient than other methods of determining which string is a match. The HawkEye™ firmware supports a JOB based MATCH_LIST, which will contain up to 15 string expressions. The integer index of the string expression in the MATCH_LIST will correspond to a binary mask that will be applied to the Digital I/O lines of the camera. At run time, following a decode, the application will operate as follows: • v2.4.1, Nov 2008
If the MATCH_LIST is enabled, the application will search the non-empty entries in the MATCH_LIST from index 1 to index 15.
HawkEye™ 1500 Series User Manual
4-31
4 ReadRunner
Match List Triggered IO allows you to match the decoded string against up to 15 match strings expressions containing optional single (?) and multiple (*) character wildcards. The resulting MATCH_INDEX is the index into the list of strings where the match was found. The MATCH_INDEX can be reported in text reports and as the 4-bit binary equivalent through the assignment of MATCH_BIT_n keywords to the IO lines.
Page 142
Chapter
4
ReadRunner
•
When the first match between the decoded string and the string expression in the MATCH_LIST is encountered, the Digital I/O lines will be set in the bit pattern defined by the binary value of the index into the MATCH_LIST.
•
Once a match has been found, the application will cease to search the list. This is an important point in that, if the first match string is “*”, all decoded strings will match it and the resulting index will always be 1. Note: Always put the most specific match strings at the start of the Match List
Enable or disable the MATCH_LIST using the MATCH_LIST_ENABLE command. Enter entries to the MATCH_LIST using the MATCH_LIST command. For more information about these commands, see the HawkEye™ 1500 Series Reference and Programmers Manual. Typical entries for a situation where four parts are to be identified by the last two entries in the decoded string using unique IO lines would be: MATCH_LIST 1 “*AB” MATCH_LIST 2 “*CD” MATCH_LIST 4 “*EF” MATCH_LIST 8 “*GH”
The following entry will turn on GPIO 1, 2, 3, and 4 when a match is found: MATCH LIST 15 “*BOO” MATCH_LIST n “”
Clears the entry at index n
The MATCH_LIST_ENABLE and MATCH_LIST settings are part of the configuration file (*hcf file) that can be saved or uploaded to the camera.
4-32
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 143
Using ReadRunner
FIGURE 4–24. MATCH_BIT Keyword Assignment
ReadRunner
4
The MATCH_BIT_1 through MATCH_BIT_4 keywords are available only when connected to a HawkEye™ camera running firmware newer than the released version of 2.1. Keyword assignments are performed with the following commands: IOASSIGN OPTO_OUT1 PASS IOASSIGN OPTO_OUT2 FAIL IOASSIGN OPTO_OUT3 DV IOASSIGN GPIO_OUT1 MATCH_BIT_1 IOASSIGN GPIO_OUT2 MATCH_BIT_2 IOASSIGN GPIO_OUT3 MATCH_BIT_3 IOASSIGN GPIO_OUT4 MATCH_BIT_4 v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-33
Page 144
Chapter
4
ReadRunner
FIGURE 4–25. Enable Text Matching Screen
The MatchList options will only be displayed for HawkEye™ cameras running firmware newer than the released version of 2.1.
4-34
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 145
Using ReadRunner
FIGURE 4–26. Enable MatchList
ReadRunner
4
After you select Enable Text Matching, ReadRunner gives you the option to do single Match String or MatchList. Note: After “Enable MatchList” is selected, the single Match String is removed from the dialog as it is no longer used.
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-35
Page 146
Chapter
4
ReadRunner
FIGURE 4–27. Adding Match Strings
The commands generated from the above settings are: MATCHEX T “” 0 0 1 1 MATCH_LIST_ENABLE ON MATCH_LIST 1 “123456AB” MATCH_LIST 2 “123456ab” MATCH_LIST 3 “12345AB6” MATCH_LIST 4 “123 56AB” MATCH_LIST 5 “123456BC” MATCH_LIST 6 “123456CD” MATCH_LIST 7 “123456DE” MATCH_LIST 8 “123*!6DE” MATCH_LIST 9 “1 6DE” MATCH_LIST 10 “DE” MATCH_LIST 11 “*~~~~~*” MATCH_LIST 12 “ * “ MATCH_LIST 13 “” MATCH_LIST 14 “” MATCH_LIST 15 “”
4-36
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 147
Using ReadRunner
FIGURE 4–28. Serial Number Matching
ReadRunner
4
MatchList only replaces the single match string capabilities with multiple match string testing. All other functions, such as Serial Number Matching, remain unaffected and may be used in conjunction with Match List.
v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-37
Page 148
Chapter
4
ReadRunner
FIGURE 4–29. Match Index for Text Reporting
MATCH_INDEX has been added if you require text output instead of, or in addition to, Digital I/O output. MATCH_INDEX can be displayed in reports, graphic overlays, and as Digital I/O, as shown in Figure 4–30 through Figure 4–32.
4-38
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008
Page 149
Using ReadRunner
FIGURE 4–30. Example 1
ReadRunner
4 FIGURE 4–31. Example 2 v2.4.1, Nov 2008
HawkEye™ 1500 Series User Manual
4-39
Page 150
Chapter
4
ReadRunner
FIGURE 4–32. Example 3
Behavior of the Wildcard Match The behavior of the wildcard match is: •
A case sensitive match is performed.
•
* and ? are wildcard characters in the pattern as well as potentially valid characters in the string.
•
* as a wildcard character represents 0 or more characters in a string.
•
? as a wildcard character represents 1 and only 1 character in a string.
•
If * and ? are found in the string, the pattern can have either a * or ? describing that position, however, the pattern will also match any string with something at that position other than * or ? (i.e., the * and ? in the pattern are seen as wildcards first and characters second). Examples of this behavior are: “*string” matches “?string” “*string” matches “*string” “*string” matches “any string”
4-40
HawkEye™ 1500 Series User Manual v2.4.1, Nov 2008