Computes the quotient of two numbers.
Divisor. If the value of y is 0, overflow occurs in the x/y output terminal.
A Boolean that describes 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 next data point has arrived for processing.|
|FALSE||The next data point has not arrived for processing.|
A Boolean that defines 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||Downstream nodes are ready for this node to return a new value.|
|False||Downstream nodes are not ready for this node to return a new value.|
x divided by y.
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||This node has not computed a result that downstream nodes can use. Any data output returns an undefined value. The undefined value returned by a data output may differ between simulation and hardware.|
A Boolean that indicates whether this node is ready to accept new input data. Use a Feedback Node to wire this output to the ready for output input of an upstream node.
|True||The node is ready to accept new input data.|
|False||The node is not ready to accept new input data.|
If you leave Auto Adapt enabled for the Precision configuration of this node, overflow can still occur in the x/y output for non-zero values of y if both of the following conditions are true:
where wl refers to the word length of an input and iwl refers to the integer word length of an input.
Complete the following steps to avoid overflow in the situation described in the previous section and for any non-zero value of y:
After you complete these steps, LabVIEW no longer adjusts the fixed-point configuration of x/y automatically. Therefore, if you change the fixed-point configuration of the x or y and still want to avoid overflow for any non-zero value of y, re-enable Auto Adapt on the Item tab. Then, complete the same steps to specify word length and integer word lengths.
The fixed-point behavior for this node uses a rounding mode that truncates the output value towards zero. This mode rounds the output value down to the nearest value that the output type can represent. If the value is positive, LabVIEW truncates the value. If the value is negative, LabVIEW deletes the least significant bits (LSBs) and adds the sign bit to the remaining LSBs, provided at least one of the deleted bits differs from 0.
Where This Node Can Run:
Desktop OS: none
FPGA: All devices
Web Server: Not supported in VIs that run in a web application