Owning Palette: FPGA Module VIs and Functions
Use the Numeric functions to create and perform arithmetic operations on numbers and to convert numbers from one integer or unsigned integer data type to another.
![]() | Note This palette is specific to FPGA targets and contains a subset of the VIs and functions that are on this palette when you edit a Windows or RT target VI. |
The functions on this palette can return general LabVIEW error codes.
Refer to the Numeric Palette Details topic for information about Timed Loop compatibility, usage, timing, and resource considerations related to the objects on this palette.
| Palette Object | Description |
|---|---|
| Absolute Value | Returns the absolute value of the input. |
| Add | Computes the sum of the inputs. |
| Compound Arithmetic | Performs arithmetic on one or more numeric, array, cluster, or Boolean inputs. Select the operation (Add, Multiply, AND, OR, or XOR) by right-clicking the function and selecting Change Mode from the shortcut menu. When you select this function from the Numeric palette, the default mode is Add. When you select this function from the Boolean palette, the default mode is OR. |
| Decrement | Subtracts 1 from the input value. |
| Enum Constant | Use the enumerated constant to create a list of string labels with corresponding integer values you can select on the block diagram. |
| Increment | Adds 1 to the input value. |
| Multiply | Returns the product of the inputs. |
| Negate | Negates the input value. |
| Numeric Constant | Use the numeric constant to pass a numeric value to the block diagram. Set this value by clicking inside the constant with the Operating tool and typing a value. |
| Quotient & Remainder | Computes the integer quotient and the remainder of the inputs. |
| Ring Constant | Use the ring constant to create a list of value pairs you can select on the block diagram. Each value pair consists of a numeric value and corresponding string label. |
| Round To Nearest | Rounds the input to the nearest integer. |
| Round Toward -Infinity | Truncates the input to the next lowest integer. |
| Round Toward +Infinity | Rounds the input to the next highest integer. |
| Scale By Power Of 2 | Multiplies x by 2 raised to the power of n. |
| Sign | Returns the sign of number. |
| Square | Computes the square of the input value. |
| Subtract | Computes the difference of the inputs. |
| Subpalette | Description |
|---|---|
| Conversion Functions | Use the Conversion functions to convert data types. The FPGA Module does not support floating-point conversions. |
| Data Manipulation Functions | Use the Data Manipulation functions to modify data values used in LabVIEW. |
| Saturation Arithmetic VIs | Use the Saturation Arithmetic VIs to handle or avoid integer overflow when performing mathematical operations. You can configure these VIs to return a maximum or minimum value if an overflow condition occurs instead of performing modular arithmetic. |