03-03-2010 04:44 AM
The termination input to the Levenberg-Marquardt VI produces bizarre results.
The default max iteration = 200. Yet will return "no of function calls" output as great than 200. In other words the max iteration input doesnt seem to work. Or does it? Particular input data can hang the program as it searches for a solution (often returning obscene values after a great deal of time).
I need to limit the no of iterations (or time) of the Lev-Mar VI but can't understand how the max iteration input works.
Can anyone help?
03-03-2010 09:00 AM
03-03-2010 03:43 PM
03-07-2010 08:35 PM
How can I ensure accuracy for my test data (high number of iterations) yet get the Lev-Mar algorithm to terminate after a certain time (sometimes it seems to freeze)?
Is there a while loop I need to Stop?
03-07-2010 10:29 PM
03-08-2010 03:58 AM
Thanks but the Non-Linear Curve Fit VI is a clone (re-entrant). You can modify and you can't Save then modify.
Any ideas?
03-08-2010 04:04 AM
Ok I opened it fom disk in the vi.lib. It allows you to Save the changes (i.e. permanently altering the original on disk) but not save a new version to the Project and then modify it. This seems like not a good thing to do..
Suggestions?
03-08-2010 05:29 AM
I wouldnt mess with the VI's in vi.lib
If you want to modify the code either "save as" to a location outside of vi.lib andalter the name to *_mod.vi etc. Or copy the actual code (Ctrl A) and paste it into a completely new vi.
Craig
03-08-2010 03:56 PM
I can't get the Non-Linear Curve Fit LM.VI to terminate after an elapsed period (5 seconds).
I opened the VI.lib and changed the constant in the Cluster (see image) to 5.
The VI doesn't stop executing (I can't even tell which part of it is still operating) for a set of data it cannot solve.
Please help.
03-09-2010 10:40 AM
How to get the Non-Linear Curve Fit LM.VI to terminate after an elapsed period (5 seconds)?