Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Rotate Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Data Manipulation Functions

Requires: Base Development System

Rotates x the number of bits specified by y.

The connector pane displays the default data types for this polymorphic function.

If y is greater than 0, the function rotates x left y bits in the positive direction (from least significant to most significant bit) and inserts the high-order bits in the low-order bits. If y is less than 0, the function rotates x right y bits (from most significant to least significant bit) and inserts the low-order bits in the high-order bits.
If x is an 8-, 16-, 32-, or 64-bit integer, then for any value of y, y ± 8, y ± 16, y ± 32, or y ± 64 yields the same output value, respectively, as y. For example, if x is an 8-bit integer, y = 1 and y = 9 yield the same result.
x rotated left by y is the result of the rotation. The data type of x rotated left by y is determined by the input data types.


Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit