Owning Palette: Numeric VIs and Functions
Requires: Base Development System
Computes the quotient of the inputs.
If you wire two waveform values or two dynamic data type values to this function, error in and error out terminals appear on the function. The connector pane displays the default data types for this polymorphic function.
Add to the block diagram | Find on the palette |
x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on. | |||
y can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on. | |||
x/y is a double-precision, floating-point number if both x and y are integers. In general, the output type is the widest representation of the inputs if the inputs are not integers or if their representations differ.
|
If you wire fixed-point values to this function, by default LabVIEW configures the integer word length of the quotient to avoid overflow for nonzero values of y. However, because the precision of the quotient can be infinite, rounding conditions always occur. Use the Numeric Node Properties dialog box to configure how LabVIEW handles rounding of fixed-point data. This function always uses the Saturate overflow mode to handle overflow.
Refer to the Numeric Functions VI in the labview\examples\Numerics directory for an example of using the Divide function.