Rockwell Automation 5370-CVIM2 Module User Manual
Page 347

5
Chapter
Chapter 7
Inspection Tools
7–109
Also, the feature number that replaces the “#” sign must conform to these
two requirements:
1. The feature number must be a constant non–zero, positive integer.
2. The feature number must be equal to, or less than, the maximum number
of features appearing in the window.
When the “
Multiple
” operation is selected, the “#”sign must be retained in
the formula (replacing or removing the “#” will cause incorrect results). For
details about the
Multiple
operation mode, see the math tool example,
Example: Using a Single Math Tool to Generate Multiple Results, on page
7–144.
Also, see the Example: List Processing section on page 7–141 for an
additional example of using the “#” in a math formula.
NOTE: Any formula that references a feature (in the feature window)
whose number is equal to or lower than the
Max. Number
setting in the
feature finder tool edit panel, but is not found in the feature window, will
cause the math tool to fail. For example, if the
Max. Number
setting is 10
and the feature finder finds only five features, the math tool will fail if the
formula references features 6 through 10.