03-18-2011 11:39 AM
I am using Visual Studio 2010 VB Express.
I have NI-VISA 5.0.3 installed.
When I go to add a Reference to the project, NationalInstruments.VisaNS is not shown as one of the choices.
I have to manually browse to C:\Program Files\National Instruments\MeasurementStudioVS2010\DotNET\Assemblies to find it.
Is this what others are seeing?
03-21-2011 03:49 PM
The assembly should be located in C:\Windows\Assembly
There should be a file like NationalInstruments.VisaNS.dll that you want to select. You probably want one of the 9.0.40.xxx versions for the 4.0 framework.
03-22-2011 09:48 AM
Yes, they are listed in C:\WINDOWS\assembly , but the newest version I have is 9.0.35.156
And I had installed NI-VISA 5.0.3
03-23-2011 04:31 PM
If you use the directory in the National Instruments folder, be sure you navigate to the Current directory. There will be a Current directory that stores the latest version and older versions in separate folders. Your NI-VISA driver is the latest so there should be the latest assembly package on your system.