LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

preserving orig data while adding new elements

I want to build a static array of 10 elements, then while sitting in a while loop choose which element to over write but keep all other elements unchanged.  I can change element 4 for example, but everytime I change an element, the other elements are reset back to 0.
0 Kudos
Message 1 of 3
(2,550 Views)
Most likely, you need a shift register. Feed the modified array to the right shift terminal and read it back from the left shift register.
 
If you don't, you continue to read from the plain tunnel at each iteration, which of course is always all zeroes.
0 Kudos
Message 2 of 3
(2,549 Views)
Here's a simple draft image...

Message Edited by altenbach on 01-31-2007 01:06 PM

0 Kudos
Message 3 of 3
(2,546 Views)