Spline Interpolant PtByPt VI
- Updated2025-07-30
- 3 minute(s) read
Returns an array, Interpolant, of length n.
The array contains the second derivatives of the spline interpolating function g(x) at the tabulated points ξ, where i = 0, 1, …, n – 1.
This VI is similar to the Spline Interpolant VI.

Inputs/Outputs
initialize
—
initialize, when TRUE, initializes the internal state of the VI.
y
—
y is an input data point.
x
—
x is an input data point.
initial boundary
—
initial boundary is the first derivative of interpolating function g(x) at x[0], g'(x[0]). The default is 1.0E+30, which causes this VI to set the initial boundary condition for a natural spline.
final boundary
—
final boundary is the first derivative of interpolating function g(x) at x[n – 1], g'(x[n – 1]). The default is 1.0E+30, which causes this VI to set the final boundary condition for a natural spline.
sample length
—
sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100. sample length must be greater than zero.
Interpolant
—
Interpolant is the second derivative of interpolating function g(x) at points x[i], i = 0, 1, …, n – 1.
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. |
The sets of input data x and y have length n and contain a tabulated function, f(xi) = yi, with x0 < x1 <…xn – 1. initial boundary and final boundary are the first derivatives of the interpolating function g(x) at points 0 and n – 1, respectively.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Signal Processing\Point by Point\Spline Interpolation PtbyPt.vi
initialize
—
y
—
sample length
—
Interpolant
—
error
—