Hi,
As you can tell, using NonLinearFitWithMaxIters does not necessarily allow you to find any of those things that you are looking for. It seems as though you are looking for a function that in the end performs the same, but provides these details along the way. We don't have a function available to do this that comes with CVI, but you are more than welcome to create your own version of this function. The formula used to calculate the output is shown in the context help, and from there you should be able to derive your own version of this and expose the requested parameters. Like for instance, to get the iteration, it's possible this new function you define can be called multiple times in a loop and passed parameters everytime. Then, if you have some integer
value that maintains the number of times the function has been called, you will have the iteration. This is one example of something you may try. In any case, however, you are looking for functionality that is very specific to your application.
Jeremy L.
National Instruments
Jeremy L.
National Instruments