LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Manipulation array

Solved!
Go to solution

Ok well,

I`m currently block on one simple problem, But I don`t find the solution......... And sure it is simple....

It`s easier with one drawing, I want to do this :

 

1 1

2 2

3 3

4 4

5 5

6 6

 

And want to change the array to have :

 

1 1 4 4

2 2 5 5 

3 3 6 6

 

I found this post
http://forums.ni.com/t5/LabVIEW/array-manipulation/m-p/2871852/highlight/true#M835498

 

I don`t have lbview 2012 but one older version, I tried to play with shifts register and build array, but I`m a little lost.

 

If someone has the solution, it`s welcoming.

0 Kudos
Message 1 of 4
(2,637 Views)
Solution
Accepted by topic author Gerday.M

Hi Gerday,

 

sure it's simple:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,624 Views)

You can use Insert Into Array in order to combine 2D arrays "next to each other" instead of "on top of each other", allowing you to simply split the array and then recombine:

 

Split_Array_and_Insert.png



0 Kudos
Message 3 of 4
(2,593 Views)

Thanks it is very good for me.

Thanks ^^

0 Kudos
Message 4 of 4
(2,589 Views)