04-30-2009 02:25 AM
Dear Olivia,
Thank you for your message. I have tried andrey solution and I think that has solved most of the issues faced before.
There is couple of things I would like to ask more.
I have made the program with the producer/consumer idea. In the producer loop I have only the acquisition of the image.
On the consumer loop I have the process of the image together with the display indicator.
Since it is an inspection application I need all the captured images being displayed. In fact it is a scrolled window and i did it as andrey suggested. But I need all the pictures being displayed like a live scroll window.
When I run the program I had the feeling that some images was not displayed. It seems like not all the images are being displayed. When I just put an indicator of the last valid buffer of the extract buffer subroutine that i have in the producer loop I noticed the following.
It was indicating as last valid buffer number 1,2,3,4,5 and then suddenly 8,9,10 etc. What about the 6 and 7?
Is there any case of not being displayed all the images and how can I avoid it?
Thank you.
Achille
05-01-2009 12:18 PM
Hi Achille,
How big is your buffer? And does it look like you are missing images when you scroll?
Sometimes multiple images will be extracted at once and thus the buffer number will look like it has skipped an image.