Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Numeric Functions

LabVIEW 8.6 FPGA Module Help
June 2008

NI Part Number:
371599D-01

»View Product Info

Owning Palette: FPGA Module VIs and Functions

Installed With: FPGA Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

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 ObjectDescription
Absolute ValueReturns the absolute value of the input.
AddComputes the sum of the inputs.
Compound ArithmeticPerforms arithmetic on one or more numeric, array, cluster, or Boolean inputs. To select the operation (Add, Multiply, AND, OR, or XOR), right-click the function and select 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.
DecrementSubtracts 1 from the input value.
DivideComputes the quotient of the inputs.
Enum ConstantUse the enumerated constant to create a list of string labels with corresponding integer values you can select on the block diagram.
IncrementAdds 1 to the input value.
MultiplyReturns the product of the inputs.
NegateNegates the input value.
Numeric ConstantUse 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 & RemainderComputes the integer quotient and the remainder of the inputs.
ReciprocalDivides 1 by the input value.
Ring ConstantUse 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 NearestRounds the input to the nearest integer.
Round Toward -InfinityTruncates the input to the next lowest integer.
Round Toward +InfinityRounds the input to the next highest integer.
Scale By Power Of 2Multiplies x by 2 raised to the power of n.
SignReturns the sign of number.
Square RootComputes the square root of the input value.
SquareComputes the square of the input value.
SubtractComputes the difference of the inputs.


SubpaletteDescription
Conversion FunctionsUse the Conversion functions to convert data types. The FPGA Module does not support floating-point conversions.
Data Manipulation FunctionsUse the Data Manipulation functions to modify data values used in LabVIEW.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit