Owning Palette: Formula Parsing VIs
Requires: Full Development System
Substitutes a formula string by given rules. The rules have a parameter name - parameter content structure.
![]() |
![]() |
![]() |
original formula is a string representing the formula where parameter names stand for formulas. | ||||
![]() |
Substitution Rules is an array of clusters describing the substitution rules.
| ||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
formula after substitution is the final formula after all substitution rules are performed. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
For example, the inputs have the following values:
The resulting formula after substitution is (sin(t))*cos(t) + (2*t*exp(t)).
Refer to the Street Illumination Problem VI in the labview\examples\Mathematics\Scripts and Formulas directory for an example of using the Substitute Variables VI.