LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Nonlinear Curve Fit Adding Custom Equation

I am relatively new to fitting data in LabVIEW, but I figured out fitting with premade functions fine (ex: linear, Gaussian, etc.). I need to fit data to a long, complicated equation now. Can anyone explain how to wire something to the Nonlinear Curve Fit VI that communicates what equation it should be using to fit? I have tried to find examples on here and on YouTube, but unfortunately there's still a little piece missing for me. 

Thank you in advance

0 Kudos
Message 1 of 4
(719 Views)
0 Kudos
Message 2 of 4
(700 Views)

Thank you very much. I still am struggling with making my own because I cannot find where some of the functions come from. It seems like most examples have the applicable equation in a white box with a blue border (I'll attach a picture). I'm curious as to what exactly this is and how I can make my own. Thank you!

0 Kudos
Message 3 of 4
(657 Views)

This is a static VI reference containing the model for the function. Just double-click it to open the VI.

 

Note that it needs to be strictly typed, i.e. all terminals must match the template). Have you looked at the help? Start with the template, implement the model that calculates Y as a function of X and the parameters, then drop it into a static reference. Right-click to make the reference strictly typed.

 

 

 

0 Kudos
Message 4 of 4
(653 Views)