LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I combine 2 1-D Arrays?

I realize there are a lot of threads on "combining" arrays, but most want a 2-D array resultant.  I would like a 1-D Array.

 

Basically, 10 tests are each run, and a waveform graph is produced for each of them.   Then, I take these waveform plots, and combine them in succession. 

 

Ex:

Chart 1:  Data1 

Chart 2:  Data2  Data3  Data4

Chart 3:  Data5 Data6

 

My Desired Outcome:   Data1 Data2 Data3 Data4 Data5 Data6  <~One Dimensional Array

Then make a waveform chart out of that data.

 

The tricky part is that I cannot use Build Array (Then Reshape Array), since doing that would add 0's to make all waveforms the same length.  One thought I had (that I'd like to avoid) is to simply add an element to "Total Chart" every time an element is added to any of the sub-charts. 

 

Basically, I want the opposite of Split 1-D Array.

 

Thanks.

 

 

Edit: I'm using 8.6

0 Kudos
Message 1 of 6
(2,898 Views)

Turn on Context Help (ctrl-h) hover over Build Array,  select Detailed Help from the Help Window and read about Concatenate Inputs.

Message 2 of 6
(2,888 Views)

 

right click on Build Array and select concatenate inputs

 

Message 3 of 6
(2,879 Views)

 


@Ray.R wrote:

 

right click on Build Array and select concatenate inputs

 


 

Hey cool, I wish I knew that earlier.

0 Kudos
Message 4 of 6
(2,859 Views)

There are lots of little hidden tricks with LabVIEW.  Most of which I do not know of, yet.  And that's what keeps LabVIEW fun,.... the little mysteries. 😉

0 Kudos
Message 5 of 6
(2,839 Views)

Surely at least one of those answers has got an Accepted Solution tick written all over it!

LabVIEW 2012
0 Kudos
Message 6 of 6
(2,817 Views)