LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reversing a 2D array

Hi,
 
How can you do this
 
| 1 2 3 4 |                    
| 1 2 3 4 |   =====>
| 1 2 3 4 |
| 1 2 3 4 |
0 Kudos
Message 1 of 4
(2,796 Views)
0 Kudos
Message 2 of 4
(2,788 Views)
Hi,
 
How can you do this
Im reading 4 values at a time and want to store them in a 2 D array
                                | 1 1 1 1 |                  |   4 4 4 4 |  
                                | 2 2 2 2 |   =====>  |  3  3 3 3 |
                                | 3 3 3 3 |                  |   2 2 2 2 |
                                | 4 4 4 4 |                  |   1 1 1 1 |
 
 
Here is my VI.
 
 
0 Kudos
Message 3 of 4
(2,788 Views)
Your example is not very good, because all columns are the same. We do not know if the rows got reversed or not 😉
 
A simple example to only reverse each column is attached, there are many ways to do this.
0 Kudos
Message 4 of 4
(2,780 Views)