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
(3,189 Views)
Solution
Accepted by topic author ergwser

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
(3,187 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
(3,184 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
(3,169 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
(3,165 Views)