Operator
Summary
Description
A + B
1 + 1 = 2
Add
A - B
1 - 1 = 0
Subtract
A * B
1 × 1 = 1
Multiply
A / B
1 ÷ 1 = 1
Divide
MOD {A, B}
1 % 1 = 0
Modulus; the modulus, or remainder, operator divides operand A
by operand B and returns the remainder
Div {A, B}
1 ÷ 1 = 1
Integer division; returns the integer part of division, and the
remainder is discarded
ABS (A - B)
|1 - 1| = 0
Returns the absolute value of operand A – B
A > B
1 > 1 = false
Greater than; returns True, else False
A
≥
B
1
≥
1 = true
Greater than or equal to; returns True, else False
A = B
1 = 1 = true
Equal to; returns True, else False
A < B
1 < 1 = false
Less than; returns True, else False
A
≤
B
1
≤
1 = true
Less than or equal to; returns True, else False
If the output of a
relational
operation
is used as an input for another Math Tool, True is interpreted as 1 and False is interpreted as 0.
Table 4: Array Operand
Operations
Array
Operations
allow the user to make a long list of input data. All of these pieces of
information
are inputs to the selected operator.
For example, select MIN{A} as the operator, and select an input tool.
Operator
Description
MIN{A}
Minimum—Returns the operand with the lowest value
MAX{A}
Maximum—Returns the operand with the highest value
MEAN{A}
Returns the mean value of the operands
MEDIAN{A}
The
statistical
median is the middle number of a group of numbers that have been arranged in order
by size. If there is an even number of terms, the median is the mean of the two middle numbers.
COUNT{A}
Returns the count of the operands
SUM{A}
Returns the
arithmetic
sum of the operands
VAR{A}
Variance—A measure of how spread out the operands values are
STDDEV{A}
Standard
Deviation—A
measure of how spread out the operands values are
Operand A
Choose the
first
variable from the vision tools in the
inspection,
or select a
user-defined
constant value.
Figure 253. Operand A
VE Series Smart Camera
www.bannerengineering.com - Tel: 763.544.3164
127