01-27-2010 08:30 AM
01-27-2010 08:31 AM
01-27-2010 09:15 AM
01-27-2010 10:11 AM
Hi, Nasgul,
Not sure where you have resources leak - from your screenshots its not clear.
But one is clear - you may not understand that IMAQ Images in LabVIEW passed by references. So, if you want to create array of images, then for each element IMAQ Create should be called with different name, otherwise all elements referred to the same image. For example, if IMAQ Dispose will be called for the first elementh of the array, then other 9 images will be automatically invalid.
Compare two code snippets below:
Common recipe for solving troubles with resources - reduce your application step by step by isolating parts of the code with case structures until application will be stable. Then you will found part of code which caused memory leak.
best regards,
Andrey.