LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

combining subarrays into a single array

Solved!
Go to solution

I am currently using labview 8. And for calibration purposes I needed to break down an array into individual subarrays so that each one could be calibrated individually. From there I want to recombine the subarrays into one array so that I can datalog.How can I go about doing this. Please see my attached VI 

 

If you look in the lower right hand corner of the while loop I break down the array into a set of two subarrays, and from there I tried to use the build array VI to combine them. however, from that point I am not sure how to proceed. and my final goal it to attach them to the "write to file" VI in the case structure at the top of the while loop, so that I can log data. 

 

Regards, 

Michael Sugimura 

 

 

 

 

0 Kudos
Message 1 of 3
(2,776 Views)

To get a row or column use "index array", not "array subset".

 

Then just use "built array" to recombine.

 

Here's a quick example. (I don't have your DAQ, so I fake some 2D data). Modify as needed.

 

(the example has been downconverted from 8.6 to 8.0. I did not test in 8.0)

Message 2 of 3
(2,766 Views)
Solution
Accepted by topic author Michael Sugimura

Of course we only need one "index array" node....

 

 

0 Kudos
Message 3 of 3
(2,732 Views)