Re: Problem with converting levenberg marquardt fitting program from LV6.1 to LV7
Hello Ruud, I apologize for the delayed response. I am not aware of the curve fitting taking longer in LabVIEW 7. LV 7 is, however, threaded differently than LV 6.1. This may result in some differences. Another thing to consider is that the speed of the curve fitting is highly dependent on your initial guess coefficients. The more accurate they are, the faster the fitting will be. If you have further questions, let me know. Matthew C Applications Engineer National Instruments
Re: Problem with converting levenberg marquardt fitting program from LV6.1 to LV7
Matthew, Another thing that strikes me is that the actual fitting in LV7 takes *way* longer than in LV6.1. Is that a known thing? Regards, Ruud
Re: Problem with converting levenberg marquardt fitting program from LV6.1 to LV7
Thank you very much! This solution indeed helps! Any idea why I am only having this problem in LV7 and not in LV6.1? Regards, Ruud
Re: Problem with converting levenberg marquardt fitting program from LV6.1 to LV7
Ruud, Thank you for contacting National Instruments. The problem does in fact have to do with the very small values of Y. As you mentioned, the solution is to scale the Y values, perhaps by multiplying them by 10^+8. The following link will take you to a knowledge base article that will give you more information: http://digital.ni.com/public.nsf/websearch/6F23B120B7A2C585862566F700130A0A?OpenDocument Hope this helps! Matthew C Applications Engineer National Instruments