From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Spline Interpolation

Dear friends,

I've a problem with the Spline Interpolation which returned the error code -20049. I've tried in several ways such as delete the repeat data out, but it didn't work. If anyone can help will be very appreciated.

Thank you so much,
0 Kudos
Message 1 of 2
(2,609 Views)
The spline interpolation expects your x-values to be all different (and monotonic). However in your data set the x values at index 122 and 124 are identical (and also x(122) > x(123)). If you correct for this the interpolation should work fine.
Message 2 of 2
(2,609 Views)