LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rotate array 90 degrees

I have an array of boolean indicators (relay on-off) that I would like to rotate 90 degrees. Not the label the array on the front panel.
0 Kudos
Message 1 of 9
(10,664 Views)
Resize to one element and stretch e.g horizontal if previously stretched vertical.
Regards,
André (CLA, CLED)
Message 2 of 9
(10,662 Views)

Hi bassinbc

 

Please see the attachment, is this what you are looking forSmiley WinkSmiley Wink..

 

Thanks & Regards,
Rajan
0 Kudos
Message 3 of 9
(10,657 Views)

Or mayby like this depending on what you are after precisely.  You could probably do this with less code using the reshape array function.

Craig

LabVIEW 2012
Message 4 of 9
(10,645 Views)

And if you are interested in rotating a 2D array, have a look at this recent post.

 

Message 5 of 9
(10,641 Views)
Thanks, just what I needed.
0 Kudos
Message 6 of 9
(10,619 Views)

Here's a link to the LabVIEW 8.5 VI as originally posted in this thread.

 

ArrayTransformations.vi (28kB)

Message 7 of 9
(10,464 Views)

I hava a other program:

0 Kudos
Message 8 of 9
(9,380 Views)

@chico_del_maiz wrote:

I hava a other program:


The problem with this solution is the fact that arrays are constantly resized in memory, requiring expensive new buffer allocations. While your code is OK for small arrays, there will be a significant performance penalty with larger inputs. My code is optimized to do the bulk of the operations "in place" and will be significantly more efficient.  

0 Kudos
Message 9 of 9
(9,262 Views)