Absolute Angle Difference VI

Owning Palette: Angle VIs

Requires: Full Development System

Calculates the absolute difference between two input angles or multiple pairs of input angles.

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

Absolute Angle Difference (scalar)

angle units specifies the units of the input and output angles of the VI.

0radian in, radian out (default)
1radian in, degree out
2degree in, degree out
3degree in, radian out
angle 1 specifies one input angle the VI uses to calculate the absolute angle difference.
angle 2 specifies another input angle the VI uses to calculate the absolute angle difference. angle 2 must have the same units as angle 1.
absolute angle difference returns the absolute difference between angle 1 and angle 2.
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.

Absolute Angle Difference (array)

angle units specifies the units of the input and output angles of the VI.

0radian in, radian out (default)
1radian in, degree out
2degree in, degree out
3degree in, radian out
Angle 1 specifies one set of input angles that the VI pairs with the elements in Angle 2 to calculate the absolute angle difference.
Angle 2 specifies another set of angles that the VI pairs with the elements in Angle 1 to calculate the absolute angle difference. The elements in Angle 2 must have the same units as the elements in Angle 1.

Angle 1 and Angle 2 must have the same number of elements or the VI returns error code –20002.
Absolute Angle Difference returns the absolute angle differences between each corresponding pair of elements in Angle 1 and Angle 2.
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.