From 12:00 PM - 4:00 PM CST on Thursday, October 18, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

To Fixed-Point (G Dataflow)

Version:
Last Modified: January 12, 2018

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, the program 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. The program 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)

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics