From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merging two 2-D arrays?

Solved!
Go to solution

Hi, 

 

I have a  question about merging two 2-D arrays. I have a program that generate two different arrays interms of binary digits (output file attached) and I wanted to arrange them as below.

 

First generated array: 1110

 1101

 1011

0111

 

Second generated array: 0001

         0010

         0100

                         1000

 

Output should be: 1110

   0001

   1101

   0010

   1011

   0100

   0111

   1000

 

Thank you.

0 Kudos
Message 1 of 7
(2,524 Views)
Solution
Accepted by topic author ramutha

Hi,


Checkout the attached VI

 

Regards,


Nitzz

(Give Kudos to good Answers and Mark it as a Solution if your problem is Solved;))

Message 2 of 7
(2,510 Views)

Here is one that works with number arrays. It is fast than using strings. Looking at your picture it looks like you are going to be using numbers so this one should be more appropriate

 

Example_BD.png.

Tim
GHSP
Message 3 of 7
(2,503 Views)

Hi there,

 

aeastet is right. His example is the right one. I didn't check the picture which was attached. I just read the post and posted the code. Thanks for the post aeastet..:)

 

warm regards,

Nitzz 

0 Kudos
Message 4 of 7
(2,500 Views)

Thanks a lot Nitz, the solution is easier than I thought.

0 Kudos
Message 5 of 7
(2,495 Views)

Thanks Tim for your help.

0 Kudos
Message 6 of 7
(2,494 Views)

Sure no problem and thank you both for the kind words. Always welcome to see.

Tim
GHSP
0 Kudos
Message 7 of 7
(2,490 Views)