PDA

View Full Version : Stopping capture during _imageAvailable



Jack Johnson
December 4, 2008, 22:28:08
During -- icImagingControl1_ImageAvailable -- I'd like to stop the capture process while I'm processing.

If I miss images I don't care.

If I'm in the _ImageAvailable for more than 1 frame time what happens.

_ImageAvialble events are queued? I miss the image?

Stefan Geissler
December 5, 2008, 09:34:28
During -- icImagingControl1_ImageAvailable -- I'd like to stop the capture process while I'm processing.
This is no good idea. You would stop the thread, that called the ImageAvailable.




If I'm in the _ImageAvailable for more than 1 frame time what happens.

_ImageAvialble events are queued? I miss the image?


Yes. With IC 3.0 they are stacked, as far as I know. With IC 3.1 the images are saved in the ringbuffer. (At least, this must be confirmed in the tests of the RC).