LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Non-Linear Fitting VI Issues - LV 2017

Solved!
Go to solution

No matter what I try after making a VI to define f(x, a) for my nonlinear fit, for some reason I keep getting a class mismatch between the reference and the input on the Nonlinear Curve Fit VI. I was wondering if this was an issue with my VI even though the connections all seem to be correct.

0 Kudos
Message 1 of 2
(2,092 Views)
Solution
Accepted by topic author tmbates12

You changed the output connector for the derivatives. Even if not connected, it needs to be a 2D array (you made it a 1D array for some reason).

 

ModelD.png 

 

If you still have problems, feel free to attach the caller too.

 

Also, if you use a static reference, make sure to make it strictly typed.

Message 2 of 2
(2,075 Views)