Converts rectangular coordinates to polar coordinates. This node returns the phase of the polar coordinates in pi radians, which use fewer FPGA resources than radians. To convert the phase into radians, divide the value by pi.

## x

X value of the rectangular coordinates.

This input supports only scalar values of the fixed-point data type.

Note

If you wire an unsigned value to this terminal that has a word length of 64 bits, LabVIEW coerces the word length to be 63 bits and displays a coercion dot on the wire.

## y

Y value of the rectangular coordinates.

This input supports only scalar values of the fixed-point data type.

Note

If you wire an unsigned value to this terminal that has a word length of 64 bits, LabVIEW coerces the word length to be 63 bits and displays a coercion dot on the wire.

## input valid

A Boolean that specifies whether the next data point has arrived for processing. Wire the output valid output of an upstream node to this input to transfer data from the upstream node to this node.

 TRUE The data point is valid and can be processed. FALSE The data point is not valid.

A Boolean that specifies whether downstream nodes are ready for this node to return a new value. Use a Feedback Node to wire the ready for input output of a downstream node to this input of the current node.

 TRUE The downstream node is ready for the next data point. FALSE The downstream node is not ready for the next data point. Note   If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.

Default: TRUE

Magnitude.

## phase

Phase in pi radians, which use fewer FPGA resources than radians. To convert this value into radians, divide phase by pi.

## output valid

A Boolean that indicates whether this node has computed a result that downstream nodes can use. Wire this output to the input valid input of a downstream node to transfer data from the node to the downstream node.

 TRUE The node has computed a result that downstream nodes can use. FALSE The node has not computed a result that downstream nodes can use.