getInputBit
|
Bit
|
Integer specifying the zero-based index of the input bit.
|
|
|
|
TRUE if the bit is set or FALSE otherwise.
|
|
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
|
This set of statements performs the continuous acquisition when input bit #0 is set, and stops it when the bit is reset.
|
|
do
|
wait(5)
|
if getInputBit(0)=TRUE then
|
grabim(1)
|
endif
|
loop
|
|
If you use BitFlow framegrabbers, the valid values of the input bit index are 0 for RoadRunner and R3 Diff boards, 0-2 for R3 CL, 0-5 for Raven and 0-6 for R64.
|
|
|