05-15-2006 09:23 AM
05-16-2006 07:19 PM
05-16-2006 09:43 PM
05-17-2006 12:48 AM
Would you mind attaching your code?
05-17-2006 03:26 PM
Yes, I was a little loose with the VI name. It is the Nonlinear Curve Fit.vi from LV8. I am including the debug VI that I used including its dependencies in the compressed attachment. It contains debug_lm.vi which needs to call two user defined subVI's which I included as well. There are two datafiles that I used to test this. The output is set to just output coefficients from the fit, and I probed all the inputs to make sure they were not being changed. I ran the VI and opened time0_aug followed by time165_aug, then stopped the VI and restarted, opening time165_aug followed by time0_aug. The coefficients I am getting (index 0,1) are respectively: time0_aug=(-1.9233,321.469); time165_aug=(-0.0906148,337.272) followed by time165_aug=(-0.0885339,319.335); time0_aug=(-1.9195,320.941) when I start the VI over. I can repeat this several times. Of course they should be the same regardless of which order I read them in. I'd be very interested if this does/does not reproduce itself on someone else's computer. I verified that all the inputs to the Nonlinear Curve Fit function stay the same, the output is the only thing that is different. I should also note that if I replace that function with a library call to an external DLL containing another implentation of the Levenberg-Marquardt algorithm, I do not encounter this problem.
Brian.
05-17-2006 04:30 PM
05-17-2006 04:58 PM
05-17-2006 05:23 PM
05-17-2006 05:35 PM
09-27-2006
01:53 PM
- last edited on
07-12-2025
11:02 PM
by
Content Cleaner
This was reported to R&D (# 3XHB2IQO) and was fixed in LabVIEW 8.2. Here is a link to the current evaluation software download for LabVIEW.
Thanks!