06-24-2011 12:48 PM
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
Solved! Go to Solution.
06-24-2011 12:56 PM
What you looking for is IMAQ Status.vi located in
%Program Files%\National Instruments\LabVIEW x.x\vi.lib\vision\compatibility.llb
Andrey.
06-24-2011 04:24 PM
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
06-27-2011 11:42 AM
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.
06-27-2011 05:42 PM
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