Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Grab continous then memory is not enough

Solved!
Go to solution

I use a usb camera to grab a pattern in while loop.

In this while loop, camera grab continous and timer is 1000ms.

It means capture 1 pic per 1 second.

When program run more time, it's show a error message in error out "not enough memory".

If i want program runs in while loop, is any vi or method can free memory of grabbed image after image processed?

 

 

Another question,

My usb camera is produced by PointGrey and model is DF6HA-1B.

When camera driver installed, Measurement could got it in NI-IMAQ device interface.

But the grabbed image is a mirror image of real image.

So, i use PointGrey to observe image, it's not mirror image.

Finally, i find a function about "Vertical Mirror" in Measurement and imege becomes correctly.

But the position of image becomes shifted. No matter vertical or horizontal.

Why have this kind of situation? I am very confused.....

0 Kudos
Message 1 of 3
(3,471 Views)
Can you post your vi or a screen shot of your program?
0 Kudos
Message 2 of 3
(3,470 Views)
Solution
Accepted by topic author mengshu

Hi, muks

 

I had solve this problem about memory is not enough when grab continous.

I use a IMAQ_Dispose.VI to destory image and free in memory, so this question is solved.

0 Kudos
Message 3 of 3
(3,442 Views)