Scripts & Formulas VIs

Owning Palette: Mathematics VIs

Requires: Full Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Scripts & Formulas VIs to evaluate mathematical formulae and expressions on the block diagram.

The nodes on this palette can return formula parsing error codes, LabVIEW MathScript error codes, or mathematics error codes.

Palette ObjectDescription
MathScript NodeNote  LabVIEW MathScript is no longer recommended for new designs. Visit ni.com/migratemathscript for more information and recommended alternatives.

Executes LabVIEW MathScripts and your other text-based scripts using the MathScript RT Module engine. You can use the MathScript Node to evaluate scripts that you create in the LabVIEW MathScript Window.

If a MathScript Node contains a warning glyph, LabVIEW operates with slower run-time performance for the node. You can modify your script to remove the warning glyph from the MathScript Node and improve run-time performance.


SubpaletteDescription
1D & 2D Evaluation VIsUse the 1D & 2D Evaluation VIs to examine 1D and 2D functions given in symbolic form, where parameterization is allowed. You can numerically calculate extrema and partial derivatives.
Calculus VIsUse the Calculus VIs for calculus and to solve differential equations.
Formula Parsing VIsUse the Formula Parsing VIs to interpret input strings as formulas, transform the formulas into numeric calculations, and return the results.
Script NodesUse the script nodes to parse formulas, which are in the form of a string, and convert the formula strings to a form that can be used for evaluating results. The script nodes use a variety of routines to handle the formulas.
Zeros VIsUse the Zeros VIs to find the zeros of 1D or n-dimension, linear or nonlinear functions or systems of functions.