12-12-2008 12:28 PM
12-15-2008 04:03 AM
I just checked my CVI7 help and the function LinearFitEx() is not listed. There is a function LinFit() which is part of the Advanced Analysis Library.
JR
12-15-2008 09:18 AM
Hello Tony,
In any event, you are correct in determining that LinearFitEx( ) is a part of the Advanced Analysis Library. The absence of this library would indeed result in the compilation errors you mentioned. This library comes with LabWindows/CVI Full Development System and LabWindows/CVI as a part of NI Developer Suite, but not with LabWindows/CVI Base Package. More information about features associated with each of the different versions can be found here.
12-15-2008 04:47 PM
Matt,
Thanks for the link. I can't justify getting the AAL at the moment, so I'll have to work around this problem. Still, I'm curious if this function was once a part of the standard library and got moved into the AAL. If so, or if this has been done with other fucntions, I think that would cause problems for lots of users.
Tony
12-16-2008 01:11 PM
Hello Tony,
I went ahead and installed LabWindows/CVI 7.0 Base Package on a test machine and determined that LinearFitEx( ) was not available. I also took the liberty of installing LabWindows/CVI 7.0 Full Development System after this and determined that LinearFitEx( ) was still unavailable, but the function that JR mentioned called LinFit( ) did indeed become available as a part of the Advanced Analysis Library.
12-16-2008 01:17 PM
Matt,
I did some investigating of my own and figured out the confusion. I originally purchased a license for the base package of NI 7. Later the test group at my company bought the "everything but the kitchen sink" version of LabView and LabWindows/CVI. They weren't using CVI, so theygave me the license for 8 including the advanced anaylsis libraries. I didn't realize I had used a function from the AAL until this issue came up. Sorry for the confusion!
Tony