Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

"Buffer to Extract" what is it??

Hi there,

I have an Atmel line scan camera with PCI-1428 grabber. I started with the NI "LL Triggered Ring" example to grab images and everything works fine.

Next step is changing the "exposure time" attribute of the camera. On the fly its not possible, so I stop the acquisition, set the new value, read it back to be sure it's in the camera, redefine the trigger (if I don't do this the camera is in "free run" mode instead of "external trigger") and then extract images back from the buffer. But I have to wait sometimes more than 1 minute before I get an image from the buffer. Why is that???

I add some numerical controls to find out who hook-up the system. After changing the "exposure time" controls "numeric 2" and "numeric 3" increments almost immediately but “numeric 4” increments only when I get a new image.

In the "LL Triggered Ring" example of NI the “Buffer to Extract” input is connected to the “Iterations” terminal of the while loop. After removing that connection, the delay no longer exists. But since the "Buffer to Extract" input connector is connected to nothing I don't know which buffer is extracted from the 10 I created with the "IMAQ Configure Buffer" vi. Do I have to worry about this or is it internal affaires between grabber and PC memory?

Correct me if I'm wrong but "Configure Buffer" means reserve enough memory in the PC to store 10 images of 1024*1000 pixels. Each memory place receive a name like "LL Ring num x". Each time 1000 lines are captured by the grabber he sends them to the next free PC memory space.

In the NI example the "Buffer to Extract" input is connected to a number from 0 to infinity while there are only 10 buffers. That's not clear to me. What's the real purpose of the "Buffer to Extract" input?

Why is the NI example not working properly in my software?

Thanks a lot for any reaction

Alain

0 Kudos
Message 1 of 2
(3,027 Views)
Hope the vi is attached now...
0 Kudos
Message 2 of 2
(3,025 Views)