LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shift 1D Array

How do you shift all the elements in a 1D array by 1? I previously used 2D to 1D vi that was posted and have 3 seperate 1D arrays. Because the array starts at zero, my information is off by 1 ! I want element 1 in index 1, element 2 in index 2..... I don't use index 0 so anything can be placed there.
0 Kudos
Message 1 of 5
(3,914 Views)
Hi

Check my example for a possible approach.

Luca P.
Application Engineer
National Instruments
Regards,
Luca
Message 2 of 5
(3,914 Views)
That worked great ! Thanks for the quick response !
0 Kudos
Message 3 of 5
(3,914 Views)
Isn't this all that is required?
0 Kudos
Message 4 of 5
(3,914 Views)
😉 Yes, that's the right solution! That happens if you think the wrong way.

Regards,
Luca
Regards,
Luca
0 Kudos
Message 5 of 5
(3,914 Views)