Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2167

problems with queuing (framegrabber PCIe-1433, Basler Sprint camera)

$
0
0

Hi.

 

I am trying to get several images from my camera as soon as the trigger signal from a wave generator is read. I have a line-scan camera from Basler connected by two camera links to PCIe-1433 framegrabber. For a trigger signal I use SYNC output of the generator that also controls the movement of the scanner in my system.

I think the problem is in the way the queues are handled in the program, because instead of getting N (in my case 100) images from the camera each time the trigger is read, I get first 100 images from the queue each time the trigger is read. I tried to empty the queue before the loop, but it didn't solve the problem - just improved the situation a little bit (including not running out of memory).

 

Does anyone have an idea how to handle this problem? I know that my problem may be basic, but I have already read, I think, everything that is to be read, including looking at LabVIEW sample vis, but every time I get this queuing problem. I also tried sequence acquisition, but it turned out to be very slow in conjuction with trigger signal.

 

PS. There's a Fourier transformation in the code, because with the camera I detect the spectrum, so after FFT I get the axial profile of my object in one point. Then, with a  scanner I can get to many more such points and have a 2d image.


Viewing all articles
Browse latest Browse all 2167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>