From 9:00 AM - 12:00 PM CDT on Saturday, June 6th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

From 9:00 AM - 12:00 PM CDT on Saturday, June 6th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Last Modified: June 25, 2019

Rotates an angle counterclockwise.

Units of the input and output angles.

Name | Value | Description |
---|---|---|

radian in, radian out | 0 | The units of input and output angles are both radian. |

radian in, degree out | 1 | The unit of input angles is radian. The unit of output angles is degree. |

degree in, degree out | 2 | The units of input and output angles are both degree. |

degree in, radian out | 3 | The unit of input angles is degree. The unit of output angles is radian. |

**Default: **radian in, radian out

Amount that this node uses to rotate the angle in the counterclockwise direction. **counterclockwise rotation** must have the same unit as **angle**.

This input accepts the following data types:

How the Data Type of **counterclockwise rotation** Affects Node Behavior

If this input is a double-precision, floating-point number, you can wire a double-precision, floating-point number or a 1D array of double-precision, floating-point numbers to **angle**. This node uses the amount to rotate one angle or multiple angles in the counterclockwise direction.

If this input is a 1D array of double-precision, floating-point numbers, you must wire a 1D array of double-precision, floating-point numbers to **angle**. The number of elements in **counterclockwise rotation** must equal the number of elements in **angle**. Otherwise, this node returns an error.

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an **error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Default: **No error

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

**error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Where This Node Can Run: **

Desktop OS: Windows

FPGA: Not supported

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