LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

???to set zero to 'value' item of an array 'Property Node' will occupy another same array size of memory?

???to set zero to value item of an array Property Node will also occupy the same array size of memory? I want to clear an array indicator in my program by setting zero to value item of the array Property Node, I wonder if this way still occupy another array size of memory.
0 Kudos
Message 1 of 2
(2,282 Views)
If you are trying to clear the array, set the value fo the array property not to an empty array. If you want to set the value to a single element '0', fine. Either case will make the original array space available again. Whether or not LabVIEW will actually reuse the space is a trickier question. For certain applications, setting the "release memory as soon as possible" worked very well for reclaiming space. On others, it impacted performance too much.
Stu
0 Kudos
Message 2 of 2
(2,282 Views)