Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

monitor image buffer

Hi, im having a lot of problems with my application getting out of memory error. Im doing several adquisitions on difference places of my program and im placing dispose image on each of them, but the problem persists. I think that maybe im missing some of them and im getting my image buffer flooded.

 

Is there some way that i can monitor the image buffer in order to find where im not disposing the images?

0 Kudos
Message 1 of 3
(3,227 Views)

Hi JuanC!

 

If you are using any of the IMAQ functions for your image acquisition, you can use a VI included with the driver called IMAQ Status.vi This VI lets you check what images are on the buffer and the size in bytes they are using. There is a link with the description:

 

http://digital.ni.com/public.nsf/allkb/8C6E405861C60DE786256DB400755957?OpenDocument

 

In case you are not using the IMAQ functions, your best option would be to monitor the memory used by the VI you have and by the subVIs. There is a memory monitor in LabVIEW that you can use or you can access to an example from the Tools >> Find Examples, go to the search tab and select Memory. You should find a V there for memory monitor.

 

Hope this info helps you.

 

Have a great day!!

0 Kudos
Message 2 of 3
(3,201 Views)

Sure you did, thanks!!!

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