Parse Formula String VI

Owning Palette: Formula Parsing VIs

Requires: Full Development System

Analyzes a string as a formula and produces two numeric arrays. These arrays can be used by the Eval Parsed Formula String VI.

Details  

 Add to the block diagram  Find on the palette
formula is a string representing the formula. The formula can contain any number of valid variables.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Parsed Formula can be wired directly to the corresponding input of the Eval Parsed Formula String VI.
Y Values is a 1D array of numbers representing a storage of detected and analyzed numbers of formula.
Table is a 2D array with 3 columns. The first column contains a code that stands for the operator. The other two columns contain codes that stand for the operands.
error out contains error information. This output provides standard error out functionality.

Parse Formula String Details

Usually, the Parse Formula String VI is used at the beginning of the calculation of function values. The Eval Parsed Formula String VI completes the calculation. This division works well if the analyzing process of the Parse Formula String VI finishes before the calculation processes. Keep this in mind for your own programming.