11-07-2013 02:00 PM
I get this error when building in VS 2010 as a converted CVI project.
It builds without errors in CVI using LabWindows/CVI project.
11-08-2013 01:02 AM
LinearFitEx is a function from the Advanced Analysis library. As far as I know you have to buy/install Measurement Studio to make this library available for VS.
11-08-2013 08:39 AM - edited 11-08-2013 08:40 AM
You don't need Measurement Studio, but the analysis libraries have to be included in the project, one way or another. In modern versions of CVI they (analysis.lib, regenlys.lib) can be found in:
%ALLUSERSPROFILE%\National Instruments\CVI<version>\extlib\msvc (32-bit version) or
%ALLUSERSPROFILE%\National Instruments\CVI<version>\extlib\msvc64 (64-bit version)
11-08-2013 09:24 AM
Thanks for the help
The VS project does include reganlys.lib but not analysis.lib.
Also only reganlys.lib is in the path specified below.
I don't think it is an installation issue since it builds as a labwindows/cvi project.
11-11-2013 07:42 AM
So have you tried including analysis.lib, as I suggested?
11-11-2013 01:53 PM
I don't have analysis.lib only reganlys.lib
11-11-2013 03:51 PM
@toma908 wrote:
It builds without errors in CVI using LabWindows/CVI project.
There is one thing I do not understand, how can you use a function from the Advanced Analysis Library without having the Advanced Analysis Library?