LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract elements from an array and build them into a new array?

So I have a 1D array of 30 elements. I want to extract the contents of the 5th, 6th, 9th, and 20th elements and then store that info in a new array. Is there a way to do this?

0 Kudos
Message 1 of 2
(2,596 Views)
You just need to use the Index Array function to get the elements you want and wire them to a Build Array. You've been a user long enough that this extremely basic code would be second nature.
0 Kudos
Message 2 of 2
(2,590 Views)