Wrap Angle (array) VI
- Updated2025-07-30
- 2 minute(s) read
Wraps the input angle to a value within the range you specify with angle range.
Wire data to any of the angle inputs to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
angle units
—
angle units specifies the units of the input and output angles of the VI.
Angle In
—
angle in specifies the input angle the VI wraps.
angle range
—
angle range specifies the range of angle out.
Angle Out
—
angle out returns the angle within angle range.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
This VI wraps an angle to a value within the angle range you specify.
For example, if angle units is degree in, degree out and angle range is 0 to 360, the VI wraps the angle according to the following formula.
y = x – 360 * floor(x/360)where x is angle in and y is angle out.
angle units
—
Angle In
—
angle range
—
Angle Out
—
error
—