02-14-2009 06:28 AM
Dear all,
I am using tab control to switch between different front panels of diss VIs.
In one VI, i am using global variable for data allocation.
i want to know when i close this Vi, and go to front panel of other VI, will the memory allocated by the Global(in first VI) be deallocated or will it still be there in memory ?
Thanks,
Ritesh
02-14-2009 04:53 PM
02-14-2009 09:58 PM - edited 02-14-2009 10:01 PM
I don't have LabVIEW in front of me, but there is a download here that may be of interest to you.
http://zone.ni.com/devzone/cda/epd/p/id/4545
From a developer's perspective, is a Global not basically treated as a subVI with no block diagram? So, wouldn't LV release its memory space when its last caller closes? I actually went looking for a "Show All VIs" VI for you, and stumbled upon the one above. Hope it helps...