Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a list of image buffers?

Solved!
Go to solution

Hi All,

 

I have a big application and several people are working on it. They allocate quite a lot image buffers in their vis.

 

Is there a good way to get a list of allocated image buffers? instead of doing it manually.

 

 

Thanks for any help.

 

Anne

0 Kudos
Message 1 of 5
(1,087 Views)
Solution
Accepted by topic author ergwser
08-27-2015 04:09 PM

What you looking for is IMAQ Status.vi located in

 

%Program Files%\National Instruments\LabVIEW x.x\vi.lib\vision\compatibility.llb

 

Andrey.

 

0 Kudos
Message 2 of 5
(1,085 Views)

Thanks for the reply.

 

I did some testing. It seems working well with normal vis, but doesn't work with dynamically loaded vis.

 

Thanks anyway.

 

Anne

 

 

 

 

0 Kudos
Message 3 of 5
(1,082 Views)

Hi, Anne,

 

For the given VI is doesn't matter - how VIs are called - dynamically or not. It works in both cases, because all memory allocated by IMAQ Create will be shown. But your dynamically called VIs must be called and running prior to using IMAQ Status (or may be images are deallocated by IMAQ Dispose?). Or probably you want to perform some kind of "static" code analysis - in this case this function will not work, of course.

 

Andrey.

 

0 Kudos
Message 4 of 5
(1,067 Views)

Thanks.

 

It works.  It's just because my application is pretty big and it takes a while to get the image buffer list.

 

Cheers,

 

Anne

0 Kudos
Message 5 of 5
(1,063 Views)