LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clear array out of for loop

Solved!
Go to solution

Oh, I see. Clear now! Sorry for asking so silly questions. Thanks a lot! 🙂

Message 11 of 13
(1,435 Views)

Dear all,

 

Does it exist a method such has IMAQ Dispose for arrays? 

I have a VI which receives several big 2D arrays (interface requirement). These are converted into IMAQ images and processed. In the last step of th VI resulting Images are again converted and returned as 2D arrays.

I would like to dispose the input arrays once they have been converted into images and thus liberate memory usage. Is there a way to do this pragmatically?

 

Best regards,

Esteban

0 Kudos
Message 12 of 13
(1,352 Views)

Hi Esteban,

 

THINK DATAFLOW!

 

LabVIEW will free (or re-use) memory as soon as it doesn't need to keep your data in memory. So once the input array is converted to an IMAQ image the memory used by the array is free for other use…

 

Edit:

Why did you create a double post? Why don't you keep everything in one place?

 

DON'T CREATE DOUBLE POSTS!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 13
(1,344 Views)