From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Rotate (G Dataflow)

Last Modified: July 25, 2018

Rotates the specified input (x) the number of specified bits (y).



The number of bits to rotate x by.

If y is greater than 0, the node 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 node rotates x right y bits (from most significant to least significant bit) and inserts the low-order bits in the high-order bits.



An input to this operation.

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

The result of the rotation. The data type of this output is determined by the input data types.

Where This Node Can Run:

Desktop OS: Windows

FPGA: DAQExpress does not support FPGA devices

Web Server: Not supported in VIs that run in a web application

Recently Viewed Topics