LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

put together two one-dim arrays?

Hello! We have two one dim arrays coming out from a for-loop each. After theese we just want to put the second of them after the first so we get one array of the dimension one. We do not know from the beginning the length of the two arrays. We want to be able to do in the same way that one do with build array just to put in the elements and then get an array on the output. Can this be done? This needs to be done only once and we would like to avoid while-loops.

Thank you and best regards.
0 Kudos
Message 1 of 3
(2,467 Views)
Hi

You can use the build-array function, but you have to right-click it and select "concatenate inputs".

Hope this helps.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 3
(2,465 Views)
Hello!

Alright that´s how to do it 🙂 Thank you very much!

Best regards.
0 Kudos
Message 3 of 3
(2,458 Views)