06-19-2008 11:19 AM
06-19-2008 11:48 AM
06-19-2008 01:11 PM
Thanks Lynn,
I'm not really sure how to fix those things you mentioned. Could you maybe upload the updated vi or post a screen shot? I'd really appreciate it.
Andrew
06-19-2008 01:29 PM
06-19-2008 01:33 PM
06-19-2008 02:53 PM
Thanks to both of you for your help. I didn't know what the connector pane was before, but now I do. altenbach, given your (much nicer) code, for how many iterations does the For Loop run? Is it going to loop 5 times, given me a function that is a sum of 5 cosine terms (actually, the first term is just a constant because Cos[0] = 1, of course)? Nothing is wired to the count terminal of the For Loop. Same with my code. Does that mean it runs just once? If so, will the iteration terminal count up from 0 to 4 to give a sum of 5 cosine terms? Does the Nonlinear Curve Fit VI see that I have 5 initial parameters wired to it and pass those along to the "A" control in FitFunction and that tells it how many terms I want in my sum? Trying to understand the theory behind it all!
Again, thanks so much.
Andrew
06-19-2008 03:32 PM
Dedalus7 wrote:
altenbach, given your (much nicer) code, for how many iterations does the For Loop run? Is it going to loop 5 times, given me a function that is a sum of 5 cosine terms (actually, the first term is just a constant because Cos[0] = 1, of course)? Nothing is wired to the count terminal of the For Loop.
07-18-2008 03:24 PM
07-20-2008 06:42 PM
07-21-2011 06:20 AM
Hi Altenbach,
I have some very basic query about using nonlinear curve fitting in labview. When I use labview curve fitting express vi, I do get decent fit. I want to repeat this using the nonlinear curve fitting vi. If I understand the nonlinear curve fitting vi correctly, you have two options either you use a model vi to supply f(x,a) or use model string option. I tried using model strig option but without success.
I have attached the simple form of my vi if you would like to take a look.
Best,