I can't get the LM fitting routine to work. Attached is a simple program that fails with the message
Error -20003 occurred at NI_Gmath.lvlib:LM get new coefficients.vi:1380001
Possible reason(s):
Analysis: The number of samples must be > 0.
The supplied example (fit to 3 Gaussians) runs just fine, and if I'm not doing the same thing as that example, the difference is too subtle for me.
Any help appreciated.