Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

acquisition speed with IMAQ Grab

Hi

I am building a vi that uses the IMAQ Grab function. Because I want a big number of images I surronded the function with a for Loop. It works weel unfortunetly I only can acquire 4 images a second and I wanted at least 10. Can you help me.

Thank you
0 Kudos
Message 1 of 6
(4,352 Views)
I am far from an expert, but this is something I have done before.

Are you simply grabbing images or are you also saving them?   What hardware/software are you using?

If you post up your VI it could be checked.  
0 Kudos
Message 2 of 6
(4,349 Views)
Hi,

Well I am using labview 8.2 with Ni Vison 8.0. I am not saving the images. I don´t even need to see them. I am just trying to acquire specific data out of them. I use the Ni Vison and then I build a vi and work with that. when Ni vision builds a Vi he uses the snap function, so I change it to grab in order to make the acquisition it faster. The program serves to acquire data from animals, so if the acquisition is slow a lot of informations his lost. Subtracting functions don´t improve the speed so I think the problem is in the grab function.

Thank you
0 Kudos
Message 3 of 6
(4,340 Views)
Hi

You have to put the Init, Configure grab and Close out of the for loop. The whole initialization and closing sequence takes a long time and you don't have to do it for each grabbed image.

Vladimir

View my profile on LinkedIn
0 Kudos
Message 4 of 6
(4,326 Views)
Mr Vladimir

Your sugestion doesn´t seem to work. I put the grab functions out of the loop cicle and I have an error like this :


Error -1074396080 occurred at IMAQ Extract Single Color Plane
 Invalid image type.

His there anything else you can sugest?

Thak you
0 Kudos
Message 5 of 6
(4,323 Views)
The grab function itself must stay inside the loop, just the init and configuration has to be put outside.
Vladimir

View my profile on LinkedIn
0 Kudos
Message 6 of 6
(4,321 Views)