Owning Palette: Angle VIs
Requires: Full Development System
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.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
angle units specifies the units of the input and output angles of the VI.
|
|||||||||
angle in specifies the input angle the VI wraps. | |||||||||
angle range specifies the range of angle out.
|
|||||||||
angle out returns the angle within angle range. | |||||||||
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. |
angle units specifies the units of the input and output angles of the VI.
|
|||||||||
Angle In specifies the input angles the VI wraps. | |||||||||
angle range specifies the range of the elements in Angle Out.
|
|||||||||
Angle Out returns the angles within angle range. The elements in Angle Out correspond to the elements in Angle In. | |||||||||
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.