Eval Multi-Variable Scalar VI
- Updated2025-07-30
- 2 minute(s) read
Calculates exactly one function value based on a given formula.

Inputs/Outputs
formula
—
formula is a string representing the formula of n independent Variables. The formula can contain any number of valid variables.
X Values
—
X Values is an array of x values corresponding to the n Variables.
Variables
—
Variables is an array of strings representing the n independent variables of the given formula. There is a one-to-one relation between Variables and X Values.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
y value
—
y value is the value of formula(X Values).
error out
—
error out contains error information. This output provides standard error out functionality. |
The VI calculates the function using the following equation.
y = f(x1, x2, …, xn)The following inputs result in y value 3.00:
- formula: 3*x1 + 4*x2 + x3^2
- X Values: [1, -1, 2]
- Variables: [x1, x2, x3]
formula
—
X Values
—
Variables
—
error in (no error)
—
y value
—
error out
—