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: 

What is error -20007 from "Interpolate 2D Scattered (1D).vi"?

Solved!
Go to solution

What does -20007 mean? And in general, how do I convert error numbers to something meaningful if LabVIEW's "Explain Error" cannot explain the error?

 

I've attached a an example VI where use Linear interpolation and I pass (0, 0, 0), (1, 0, 😎 to "Interpolate 2D Scattered (1D).vi" for the two known points and (0.5, 0) for the point to be interpolated.

0 Kudos
Message 1 of 4
(2,544 Views)
Solution
Accepted by topic author bmihura

Explain Error works fine for me. You need to type in the number.

 

error-20007.png

 The explanation points out that 3 or more samples are required. You only have two.

 

Lynn

Message 2 of 4
(2,541 Views)

Well that was easy. I must have typed in the wrong number somehow.

0 Kudos
Message 3 of 4
(2,519 Views)

You should use the "type what I was thinking, not what my fingers punched algorithm."

 

Lynn

0 Kudos
Message 4 of 4
(2,511 Views)