I am working on fitting a nonlinear function of form,
y=k1+arctan(k2*x) for a data set that I have. I have attached a vi that loads a file, let me extract some data from the file and then perform the plotting. I am not able to get a good fit at all. Any clues..?
You did not include any subVIs* or any data.
* (missing are at least: LabViewMeasurementfiles.vi, CurveFitting.VI. Are these from a toolkit?)
Your program is layed out as a worm. I would suggest a state machine instead.