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

Expression Node

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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.

Right-click the node and select Build Unit String from the shortcut menu to build and edit a string of units.

Details  Example

input is the value that the Expression Node uses as the variable.
output returns the value of the calculation.

Expression Node Details

Expression Nodes are useful when an expression has only one variable but is otherwise complicated. Expression Nodes accept any non-complex numeric data type. Use the correct syntax, operators, and functions when creating Expression Nodes.

Note  The Expression Node accepts only the period (.) as a decimal separator. The node does not recognize localized decimal separators.

Example

Refer to the Expression Node VI in the labview\examples\general\functions\Numeric directory for an example of using the Expression Node function.


Resources


 

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