LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a way to list the 'names' of the IMAQ images in memory?

looking for a way to generate an array of strings that contains the 'names' of all the IMAQ images in memory. I'm doing some heavy image processing and the nature of the image processing functions makes it easier to work with multiple copies of images to avoid nasty surprises (like images declared one type being unexpectedly recast as another). Unfortunately, this means drawing dozens of wires everywhere to image disposal points, which does nothing but add clutter to the block diagram. I'd like to be able to poll the images in memory and delete only those images which are no longer needed. Thanks, Root

global variables make robots angry


0 Kudos
Message 1 of 3
(2,537 Views)

Root,

You could use IMAQ GetImageInfo to get the name of an image.  If your image references are stored in an array it would be easy to generate a list of image names using IMAQ GetImageInfo in a For Loop.

Hope this helps,

 



Message Edited by mfitzsimons on 01-29-2008 05:21 PM
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 3
(2,533 Views)
yes, that is a good idea. thanks!

global variables make robots angry


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