12-18-2014 03:05 AM - edited 12-18-2014 03:18 AM
In
C:\Program Files\IVI Foundation\VISA\Win64\Lib_x64\msc
There are 3 lib files: nivisa64.lib, visa64.lib, visa32.lib
And in C:\Windows\System32 are the 3 corresponding .dll files located.
I understand that I have to link against visa64/visa32 depending on if it is a 64bit or a 32bit machine.
But what is nivisa64.dll and nivisa64.lib good for? Do I need it for communication with my device? What is the difference between visa and nivisa?
Solved! Go to Solution.
12-19-2014 03:04 AM
Hi,
Currently there are 4 import libraries.
3 are provided by NI-VISA visa32.lib (one in a bc folder and the other in msc) and nivisa64.lib. The other lib visa64.lib is provided by VISA Shared Components.
So the difference between the nivisa64.lib and the visa64.lib is the originator of the file.
nivisa64.lib is from National Instruments and the visa64.lib is provided by VISA Shared Components.
I hope this helps to clear up the confusion.
12-19-2014 03:36 AM
And what is the difference between nivisa64 and visa64 beside the name? That one is written is VISA and the other one is VISA Shared Components does not help me. I don't even know the difference between both.
If I am writing a program that should use VISA, do I have to use nivisa64.lib? And if yes, towards which dll is it pointing?
12-19-2014 03:51 AM
Hi,
it is not the point what it is written in.
The nivisa64.lib is written by National Instruments, the visa64.lib is not written National Instruments.
The visa64.lib was written by the VISA Group and you can see it as an basic set.
You should use the newer nivisa64.lib that should already be in your LabVIEW palette after installing the NI-VISA drivers.