LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1d array to 2d array newbie

I am adding date, time, and 4 values to an array. I want to add these values to a 2d array. When i do it overwrites the previous values. How can i get the 2d array to add the values to the next row. any help is greatly appreciated

Mike
0 Kudos
Message 1 of 4
(2,912 Views)
You need to keep the array values in a shift register like in the attached modification.
Message 2 of 4
(2,899 Views)
Thank you very much for your help, works great
0 Kudos
Message 3 of 4
(2,896 Views)
Since you always insert your 1D array into an empty 2D array, no wonder that you apprently replace always the same line !
What you have to do is to pass the new array value to a shift register, then back to the insert node at the next execution.
See the attached vi.

CC

Edit : B...y phone. add to much delay !

Message Edited by chilly charly on 05-27-2005 04:49 PM

Chilly Charly    (aka CC)
Message 4 of 4
(2,895 Views)