Table Of Contents

To Fixed-Point (G Dataflow)

Last Modified: January 9, 2017

Converts any non-complex number to fixed-point representation.

If you do not wire a value to the fixed-point type input or configure the output settings of this function, the data type of the fixed-point output adapts to the data you wire to the number input. For example, if you wire an 8-bit unsigned integer to the number input, LabVIEW returns an 8-bit unsigned fixed-point number with 8 integer bits. This function saturates the number by default if overflow occurs.

connector_pane_image
datatype_icon

number

Any non-complex number.

datatype_icon

fixed-point type

The fixed-point data type to which you want to convert the integer data. LabVIEW ignores any data in the constant or control that you wire to fixed-point type.

datatype_icon

fixed-point

Is the input data scaled to the requested fixed-point data type.

datatype_icon

overflow

A Boolean that describes whether the result of the operation is outside the range of values that the output type can represent.

TRUE Overflow occurred.
spd-note-note
Note  

For complex numbers, the output is TRUE if either the real or imaginary parts overflow.

FALSE Overflow did not occur.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics