|
grabTrig
|
|
|
|
| None
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
|
|
| This set of statements will trigger an acquisition and grab an image every time a character arrives to a serial port. The video device is assumed to be in the trigger synchronization mode.
|
|
|
| 'acquisition thread
|
| thread("
|
| Do
|
| grabIm(1)
|
| Loop
|
| ")
|
| 'triggering thread
|
| serialOpen(1,"19200,N,8,1",1)
|
| Do
|
| serialWait(1000)
|
| Beep
|
| grabTrig()
|
| Loop
|
|
|
| This function works only with video devices that support the software trigger command. Refer to ImageWarp User's Guide for more details.
|
|
|