92
Spyder3 GigE Vision SG-14 Monochrome Cameras User’s Manual
03-032-20123-01
Teledyne DALSA
Correct Lookup Table Syntax
Syntax
Valid Construction
Sample Line
Line
Ou tp u t = Exp ression EOL (end of
line)
Ou tp u t
Q0, Q1, Q2, ..., Q16, Q17
Inp u t
I0, I1, I2, ..., I6, I7
Exp ression
Inp u t
N ot Inp u t
Boolean constant
Q1=I5
Q1=!I5
Q1=FALSE
Com bined Exp ression
Exp ression Boolean op erator
Exp ression
Q1=I5 & I3
Q16 = I8 | I6
Boolean Op erators
& (and )
| (or)
^ (xor)
Q14 = I4 & I6
Q15 = I3 | I5
Q9 = I1 ^ I8
N ot
!
Q0=!I0
Q10= !(I8 & I5)
Delim iter
()
Q0 = !(I0)
Q3 = !(I1 | (I7 ^ I5))
Q6 = (I3 | I5) ^ (I1 & I2)
Boolean Constants
1, tru e, TRUE
0, false, FALSE
Q0 = 1
Q3 = TRUE Q6 = I3 ^ tru e
EOL
\ r
\ n
\ r\ n
\ n \ r
(u sed only for SDK, not
Coyote)
Incorrect Lookup Table Usage
Rule
Incorrect Syntax
Correct Syntax
The ou tp u t m u st be on the left
hand sid e of the equ ation
(the valu e is being assigned to
Q4, not I5).
I5 = Q4
Q4 = I5
Ou tp u ts m ay not be on the right
hand sid e of the equ ation.
Q1 = I7 & I8
Q2 = Q1 | I5
Q1 = I7 & I8
Q2 = (I7 & I8) | I5
Equ ations m u st be sep arated by
a carriage retu rn or an EOL
sym bol.
Q3 = I7,Q15=I8
Q3 = I7
Q15 = I8