Calculates the values of a more complex 1D function given by a formula.

The values are calculated with higher accuracy than by the Eval y=f(x) VI.


icon

Inputs/Outputs

  • cu32.png number of points

    number of points is the number of calculated points at the beginning of the execution. The default is 10. Usually, many more points will be added.

  • cdbl.png epsilon

    epsilon controls the construction of specific points between the start and end points that will be used in the calculation.

  • cdbl.png start

    start is the start point of the interval under investigation. The default is 0.0.

  • cdbl.png end

    end is the end point of the interval. The default is 1.0.

  • cstr.png formula

    formula is a string describing the function under investigation. The formula can contain any number of valid variables.

  • i1ddbl.png X Values

    X Values is the array of equidistant points between start and end.

  • i1ddbl.png Y Values

    Y Values is the array of function values from the corresponding points of X Values.

  • iu32.png ticks

    ticks is the time in milliseconds to analyze the formula and to produce the X Values and the Y Values arrays.

  • ii32.png error

    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.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Mathematics\Optimization\1D Explorer.vi