If the array control is being set to a zero length array using a local
variable, that should work. It sounds line the contents of the array are
being stored in an internal buffer and new elements are appended to this
buffer, and not to the array defined in the control.
One possibility- loops with shift registers. This is simple and you should
know if you've put some in there!
Second more subtle possibility; if you have a loop and the wire from the
control passes into the loop from the outside, the point of entry of the
wire into the loop contains the data that was in the control at the time the
loop started; subsequent writes to this control by a local will not change
the data in the loop. You need to move the control terminal inside the loop
for changes
in the control data to be picked up by code within the loop. You
could of course use a local inside the loop, however I believe the terminal
is a more efficient way of accessing the control than a local is, and the
point of most frequent access should have the terminal.
Dennis Knutson wrote in message
news:506500000005000000383F0000-999158726000@exchange.ni.com...
> Use either Initialize Array or the Delete from Array function. The
> Initialize Array is probably faster.