LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

best way to empty the array?

In LabVIEW PDA module, what is the best way to empty the array?

The reason is that I have an array variable which is loaded with different data sets. It looks to me using the loop to reinitialize the array is not the best way.
0 Kudos
Message 1 of 3
(2,575 Views)
I am not aware of how arrays are used in LabVIEW PDA, but normally, you can use the property node of the array to empty the array. hope this helps!
0 Kudos
Message 2 of 3
(2,552 Views)
Right click on the array terminal and select Create>>Constsant. You'll recieve a constant with the current value of the array. Make sure the constant is empty and wire it into the array (or a local variable) wherever you want on the diagram. You can also use Initialize array VI.

___________________
Try to take over the world!
0 Kudos
Message 3 of 3
(2,541 Views)