Use the Expression Node to calculate expressions that contain a single variable. The following built-in functions are allowed in formulas: abs, acos, acosh, asin, asinh, atan, atanh, ceil, cos, cosh, cot, csc, exp, expm1, floor, getexp, getman, int, intrz, ln, lnp1, log, log2, max, min, mod, rand, rem, sec, sign, sin, sinc, sinh, sizeOfDim, sqrt, tan, tanh.


icon

Inputs/Outputs

  • cdbl.png

    input is the value that the Expression Node uses as the variable.

  • idbl.png

    output returns the value of the calculation.

  • Expression Nodes are useful when an expression has only one variable but is otherwise complicated. Use the correct syntax, operators, and functions when creating Expression Nodes.

    Expression Nodes have the following restrictions:

    • Expression Nodes accept any non-complex numeric data type.
    • Expression Nodes accept only the period (.) as a decimal separator. The nodes do not recognize localized decimal separators.
    • Expression Nodes accept only pi as a constant. The constant is case-sensitive.
    • You cannot add Expression Nodes to a VI on which you enable inlining.