LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: Cubic Spline Fit error when some (x,y) weight(s)=0

Hi,

 

I wanted to log this bug on the forum. I have already logged this with NI UK Support: CAR# 287065

 

I was trying to use Cubic Spline Fit.vi and control its behaviour using the "Weights" array input.

The VI doesn't like Weight=0 in some cases.

The error reported "Analysis:  The input must be non-zero."

The VI will work if the number is a very small but non-zero number.

 

Steps To Reproduce:

I have attached a VI to demonstrate the issue.

Run the program with Select=TRUE and new element = 1 The cubic fit will run OK without any error.

Change new element = 0

The cubic fit will run but this time the error is -20141 Change new element = 0.0001 The cubic fit will run OK without any error.

Change Select = FALSE

This will then use the Example Weights array. This is a real example of input I am supplying to this VI.

The cubic fit will run but this time the error is -20141

Set Offset = 1E6 i.e a small number close to zero.

The cubic fit will run OK without any error.

 

cheers

 

David

 

LabVIEW 10.0f2, Windows 7 32-bit.

0 Kudos
Message 1 of 2
(2,423 Views)

Hi, 

the same problem in LV version 2017.

BTW, how can I find the status of CAR# 287065?

 

Regards, Ljubo.

0 Kudos
Message 2 of 2
(1,445 Views)