LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced library

Hi,
We have CVI 5.0.1 with Advanced Analsyis Library.
We recently bought CVI 6.0 base software. Our applications are using Adavanced Analysis Library functions. Now, since we didn't buy advanced library now, we are getting compilation errors with CVI 6.0. Can we use Adavanced library of CVI 5.0.1 with CVI 6.0 base s/w? Or we need to buy advanced library again for version 6.0?

Cheers,
Niranjan
0 Kudos
Message 1 of 8
(4,304 Views)
hello

You can use the analysis library functions in CVI 6.0, but I dont know what kind of problems this might cause since the functions might have changed alot since CVI 5.0.
You can overwirte the appropriate files (analysis.h , analysis.lib and the analysis function panel file) from the CVI 5.0 full package that you have to the CVI 6.0 "include" and "extbin" folders. This will add all the function prototypes that you need to run the code in CVI 6.0

Have a great day!
Bilal Durrani
NI
0 Kudos
Message 2 of 8
(4,302 Views)
Hi,
Thanks for your help. I did copy analysis.h of full development kit to new version include file. I also copied analysis.lib in extlib. I even copied corresponding driver in bin. Now, I got rid of errors "prototype not found". however, I am still getting error as Undefined function. can u suggest me anything else?

cheers
Niranjan
0 Kudos
Message 3 of 8
(4,302 Views)
Hello

make sure you copy the .fp file as well, and overwrite it. And also make sure that the locations are correct. try opening one of the CVI 5.0 anvanced analysis examples in CVI 6.0 with the appropriate files copied over. You shoud copy over any file that starts with analysis. I think there is a analysis.lfp (its in the bin folder) file that you would need to copy over as well.
Bilal Durrani
NI
0 Kudos
Message 4 of 8
(4,302 Views)
hey,
it worked. thanks a lot....
cheers
Niranjan
0 Kudos
Message 5 of 8
(4,302 Views)
I tried the same thing from 5.5 to 6.0 but I get this message:

Aborted load of library "c:\Program Files\National Instruments\MeasurementStudio\CVI\bin\analysis.lib". The file format of "c:\Program Files\National Instruments\MeasurementStudio\CVI\bin\analysis.lib" does not match that used by the current compatibility mode.

What do you suggest?

Thanks
0 Kudos
Message 6 of 8
(4,272 Views)
This probably happened because your CVI 5.5 installation is set to a different compatibility mode from the one in your CVI 6.0 installation. You can verify the compatibility mode of each by selecting Options>>Build Options from the project window, and then looking at the "Compatibility with" field.

If it is the case that the compatibility modes are different, you'll have to change one of them before copying the analysis files. To do so, you'll have to re-run the original installer and select the compatibility mode you want when the installer prompts you.

Once the two installations are set to the same mode, then you can copy the files.

Luis
NI
0 Kudos
Message 7 of 8
(4,265 Views)
Thanks,

It works,

sjm
0 Kudos
Message 8 of 8
(4,246 Views)