Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66684

Split an array into subarrays programmatically

$
0
0

Hi,

 

I have an array of data which I want to break down into 8 sub-arrays by value in the first column.

 

1. I initially remove the empty rows

2. I build a new array using a conditional for loop which holds the ID and the rows of interest.

3. I insert the ID over the redundant first column.

 

I would like to break 'output' into sub-arrays by value. I'm expecting to have 8 sub-arrays of @ 50-60 rows at the end. Any extra rows that don't fall into these sequences need to be removed. 

 

What's the best way to approach this? Code and screenshot attached.


Thanks,

 

J

 

How should I approach this?

 


Viewing all articles
Browse latest Browse all 66684

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>