Eval y=f(x) VI

Owning Palette: 1D & 2D Evaluation VIs

Requires: Full Development System

Calculates the values of a 1D function given by a formula at equidistant points in an interval.

For additional accuracy, consider using the Eval y=f(x) Optimal Step VI.

Details  Examples

 Add to the block diagram  Find on the palette
number of points is the number of all calculated points. The independent variable is split into equidistant subpoints. The default is 10.
start is the start point of the interval. The default is 0.0.
end is the end point of the interval. The default is 1.0.
formula is a string describing the function under investigation. The formula can contain any number of valid variables.
X Values is the array of equidistant points between start and end.
Y Values is the array of function values from the corresponding points of X Values.
ticks is the time in milliseconds to analyze the formula and to produce the X Values and the Y Values arrays.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Eval y=f(x) Details

Note  Use the Bundle function to wire the X Values and Y Values arrays directly to an XY Graph, as shown in the following illustration, to view the result of this VI.

Examples

Refer to the following VIs for examples of using the Eval y=f(x) VI: