LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

curve fitting

HI,

 

I'm trying to get the transient response of a thermocouple with USB 6008, I need to do the curve fit for the acquired signal. The curve fit is not working for me.The curve fitting block needs input for the location.how can I create and supply that. find the attached VI.

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

The "locations" are the x values for each data point. In principle, dynamic data has that built-in (x0, dx, etc), but I guess you would need to create an array of x-values yourself. 

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

Hi Altenbech,

 

please explain me how can I create that array of X values?

 

Thanks In advance.

 

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

You could get the xo and dx from the dynamic data, the use a simple variation of this code. See how far you get.

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