Jump to content

Functions Palette/Programming/Numeric: Difference between revisions

From LabVIEW Wiki
Added parent navigation
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming{{!}}Programming palette|type=palette|icon=Functions Palette - Programming Palette - Numeric.png}}
Use the '''Numeric''' VIs and functions to create and perform arithmetic and complex mathematical operations on numbers and to convert numbers from one data type to another.{{TOCright}}
{{LabVIEW Palette
{{LabVIEW Palette
|image  = Functions Palette - Numeric Palette.png
|image  = Functions Palette - Numeric Palette.png
Line 34: Line 37:
|46 = Functions Palette/Programming/Numeric/Fixed-Point{{!}}Fixed-Point
|46 = Functions Palette/Programming/Numeric/Fixed-Point{{!}}Fixed-Point
|51 = DBL Numeric Constant{{!}}DBL Numeric Constant
|51 = DBL Numeric Constant{{!}}DBL Numeric Constant
|52 = +INF function{{!}}+INF
|52 = Positive Infinity Constant{{!}}+INF
|53 =-INF function{{!}}-INF
|53 = Negative Infinity Constant{{!}}-INF
|54 = Machine Epsilon function{{!}}Machine Epsilon
|54 = Machine Epsilon Constant{{!}}Machine Epsilon
|55 = Not A Number Constant{{!}}Not A Number Constant
|55 = Not A Number Constant{{!}}Not A Number Constant
|56 = Functions Palette/Programming/Numeric/Math Constants{{!}}Math Constants
|56 = Functions Palette/Programming/Numeric/Math Constants{{!}}Math Constants
Line 42: Line 45:
|66 = Expression Node function{{!}}Expression Node
|66 = Expression Node function{{!}}Expression Node
}}
}}
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming{{!}}Programming palette|type=palette}}
Use the '''Numeric''' VIs and functions to create and perform arithmetic and complex mathematical operations on numbers and to convert numbers from one data type to another.


== Subpalettes ==
== Subpalettes ==
Line 136: Line 135:
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Sign.png|frameless|border|Sign|link=Sign function]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Sign.png|frameless|border|Sign|link=Sign function]]
| [[Sign function|Sign]]
| [[Sign function|Sign]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Random Number (0-1).png|frameless|border|Random Number (0-1)|link=Random Number (0-1) function]]
| [[Random Number (0-1) function|Random Number (0-1)]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Random Number (Range).png|frameless|border|Random Number (Range)|link=Random Number (Range) function]]
| [[Random Number (Range) function|Random Number (Range)]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Range Limits for Type.png|frameless|border|Range Limits for Type|link=Range Limits for Type function]]
| [[Range Limits for Type function|Range Limits for Type]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Expression Node.png|frameless|border|Expression Node|link=Expression Node function]]
| [[Expression Node function|Expression Node]]
|}
== Constants ==
{| class="wikitable sortable"
! Icon
! Name
|-
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Numeric Constant.png|frameless|border|Numeric Constant|link=Numeric Constant]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Numeric Constant.png|frameless|border|Numeric Constant|link=Numeric Constant]]
Line 145: Line 162:
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Ring Constant.png|frameless|border|Ring Constant|link=Ring Constant]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Ring Constant.png|frameless|border|Ring Constant|link=Ring Constant]]
| [[Ring Constant|Ring Constant]]
| [[Ring Constant|Ring Constant]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Random Number (0-1).png|frameless|border|Random Number (0-1)|link=Random Number (0-1) function]]
| [[Random Number (0-1) function|Random Number (0-1)]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Random Number (Range).png|frameless|border|Random Number (Range)|link=Random Number (Range) function]]
| [[Random Number (Range) function|Random Number (Range)]]
|-
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - DBL Numeric Constant.png|frameless|border|DBL Numeric Constant|link=DBL Numeric Constant]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - DBL Numeric Constant.png|frameless|border|DBL Numeric Constant|link=DBL Numeric Constant]]
| [[DBL Numeric Constant]]
| [[DBL Numeric Constant]]
|-
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - +INF.png|frameless|border|+INF|link=+INF function]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - +INF.png|frameless|border|Positive Infinity Constant|link=Positive Infinity Constant]]
| [[+INF function|+INF]]
| [[Positive Infinity Constant|Positive Infinity Constant (+INF)]]
|-
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - -INF.png|frameless|border|-INF|link=-INF function]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - -INF.png|frameless|border|Negative Infinity Constant|link=Negative Infinity Constant]]
| [[-INF function|-INF]]
| [[Negative Infinity Constant|Negative Infinity Constant (-INF)]]
|-
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Machine Epsilon.png|frameless|border|Machine Epsilon|link=Machine Epsilon function]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Machine Epsilon.png|frameless|border|Machine Epsilon Constant|link=Machine Epsilon Constant]]
| [[Machine Epsilon function|Machine Epsilon]]
| [[Machine Epsilon Constant|Machine Epsilon Constant]]
|-
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - DBL Numeric Constant.png|frameless|border|Not A Number Constant|link=Not A Number Constant]]
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Not A Number Constant.png|frameless|border|Not A Number Constant|link=Not A Number Constant]]
| [[Not A Number Constant]]
| [[Not A Number Constant]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Range Limits for Type.png|frameless|border|Range Limits for Type|link=Range Limits for Type function]]
| [[Range Limits for Type function|Range Limits for Type]]
|-
! style="text-align: center;" |  [[File:Functions - Numeric Palette - Expression Node.png|frameless|border|Expression Node|link=Expression Node function]]
| [[Expression Node function|Expression Node]]
|}
|}



Latest revision as of 17:14, 13 July 2020

Object information
Owning palette(s) Programming palette
Type Palette
Requires Basic Development Environment
Icon

Use the Numeric VIs and functions to create and perform arithmetic and complex mathematical operations on numbers and to convert numbers from one data type to another.

Programming paletteAddSubtractMultiplyDivideQuotient & RemainderConversionIncrementDecrementAdd Array ElementsMultiply Array ElementsCompound ArithmeticData ManipulationAbsolute ValueRound To NearestRound Toward -InfinityRound Toward +InfinityScale By Power Of 2ComplexSquare RootSquareNegateReciprocalSignScalingNumeric ConstantEnum ConstantRing ConstantRandom Number (0-1)Random Number (Range)Fixed-PointDBL Numeric Constant+INF-INFMachine EpsilonNot A Number ConstantMath ConstantsRange Limits for TypeExpression Node
Numeric palette (Click on a function to navigate, or on the arrow to go to parent palette)

Subpalettes

Icon Name
Conversion Conversion
Data Manipulation Data Manipulation
Complex Complex
Scaling Scaling
Fixed-Point Fixed-Point
Math Constants Math Constants

Functions

Icon Name
Add Add
Subtract Subtract
Multiply Multiply
Divide Divide
Quotient & Remainder Quotient & Remainder
Increment Increment
Decrement Decrement
Add Array Elements Add Array Elements
Multiply Array Elements Multiply Array Elements
Compound Arithmetic Compound Arithmetic
Absolute Value Absolute Value
Round To Nearest Round To Nearest
Round Toward -Infinity Round Toward -Infinity
Round Toward +Infinity Round Toward +Infinity
Scale By Power Of 2 Scale By Power Of 2
Square Root Square Root
Square Square
Negate Negate
Reciprocal Reciprocal
Sign Sign
Random Number (0-1) Random Number (0-1)
Random Number (Range) Random Number (Range)
Range Limits for Type Range Limits for Type
Expression Node Expression Node

Constants

Icon Name
Numeric Constant Numeric Constant
Enum Constant Enum Constant
Ring Constant Ring Constant
DBL Numeric Constant DBL Numeric Constant
Positive Infinity Constant Positive Infinity Constant (+INF)
Negative Infinity Constant Negative Infinity Constant (-INF)
Machine Epsilon Constant Machine Epsilon Constant
Not A Number Constant Not A Number Constant

History

Version Change(s)
LabVIEW 2018 More info to come.