LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt about Fitting

Hi everybody 

 

i have a little doubt about the "Linear Fit .vi"; i see the help page and i undestand that it takes a set of value X and Y and makes out the best fitting of the Y value. I tried to use it in a project and:

 

In the first block (the upper one) it takes a data set (X,Y) and makes the fit..ok!

 

In the second one (the lower one) it takes a ramp signal + noise data in the Y input and just the ramp signal in the X input.. how can he makes the fit? 

It takes the same signal, how can it read the x value and the y value ? If i have a waveform in "dynamic data set" how can i separate the X and Y component? can i put the same signal in the X and Y input ?

 

I hope to be clear.. i just want to know how can the .vi read several kind o input.

 

Thank you

Nigeltorque
0 Kudos
Message 1 of 5
(2,778 Views)

I post the attachement in older version too..

Nigeltorque
0 Kudos
Message 2 of 5
(2,776 Views)

Is it possible to see the .vis ?? Is the first time i save one in an older version, hope you are able to see it!

Nigeltorque
0 Kudos
Message 3 of 5
(2,745 Views)

What values are you using for the model parameters? Start, End, Samples, Delta, Amplitude, Method 2?  The defaut values produce an Equation of Fit 2 with NaN.

 

The VIs in the 8.6 version came through.

 

Lynn

0 Kudos
Message 4 of 5
(2,728 Views)

Use a delta that is not zero.

0 Kudos
Message 5 of 5
(2,721 Views)