To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI rotates a 2D array either clockwise or counterclockwise by 90, 180, or 270 degrees.
Description
This is done by iterating the array through a for loop and using the Transpose 2D Array VI.
Requirements
Software:
Steps to Implement or Execute Code
1. Select Rotation orientation.
2. Run the VI.
3. Inspect Rotated 2D Array indicator.
Additional Information or Resources
**This document has been updated to meet the current required format for the NI Code Exchange.**
Regards,
Dan King
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.