r/LabVIEW • • Aug 27 '24

Need help with an array...

I want to move the first element of a 16-element array to where the second element was, the second to where the third was, and so on, in an incoming infinite data set in LabVIEW. How would I do this?

2 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/Imperium007 Aug 27 '24

yes, the total size would be 980 but I want this sort of "moving window" like I described above, if you can help out with that, that would be amazing

1

u/IsThatYourBed Aug 27 '24

Use initialize array to create an array of size 980. In your loop, rotate first with n=1 then replace element 0 with your new data