01-05-2011 11:25 AM
Hi,
I would like to know why NationalInstruments.VisaNS.dll is missing in the following folder:
C:\Program Files\National Instruments\MeasurementStudioVS2010\DotNET\Assemblies\Current
I do have the file in the following folder:
C:\Program Files\National Instruments\MeasurementStudioVS2008\DotNET\Assemblies\Current\
If I add the file in my VS2010 projects, they wont compile.
Please help.
Regards
AJ.
Solved! Go to Solution.
01-06-2011 10:18 AM
AJ,
This sounds like the VISA .NET support is not installed on your machine for Visual Studio 2010. Since VS2010 is a new piece of software, there is probably a compatibility issue between the file in the VS2008 folder and VS2010, which results in the projects not compiling.
You will need to upgrade your VISA driver to 5.0.3, which is the first version I found that supports VS2010 (see Supported Development Environments in the readme). Also, just to check, you will need Measurement Studio 2010 in order to work with VS2010. Be sure to enable the support for .NET to install in the "Features to install" dialog of the driver.
Once you install this compatible driver, the assembly should be in place and your projects should compile.
Hope this helps,
Jen W
Applications Engineer
National Instruments
ni.com/support
01-12-2011 11:05 AM
Hi Jen,
Thank you for the info. Installing he new visa worked. All my projects compile now.
01-13-2011 01:25 PM
Great!
Happy coding,
Jen W
Applications Engineer
National Instruments
ni.com/support
03-04-2013 09:07 AM
Hello,
I'm having a similar sort of issue. I've installed Visual Studio 2008 on a Windows 7 machine and then installed NI-VISA 5.1.1. I cannot find the NationalInstruments.VisaNS.dll anywhere in the 'C:\Program Files (x86)\National Instruments\MeasurementStudioVS2008\DotNET\Assemblies\' folder. Do I need Measurement Studio installed? I just need to use the VISA library.
Thanks,
Olivia
03-04-2013 12:22 PM
Olivia,
Download and install the latest visa driver from NI. Do a search for NI-VISA.
Hope that helps.
AJ
12-17-2020 05:39 PM
Hello,
I am sorry for writing on this thread from a few years ago.
I am facing a similar problem of missing VisaNS.dll file (and Common.dll file) in the MeasurementStudioVS2010\DOTNET\Assemblies\Current folder. I am working on a new Windows10 machine and I tried various versions of NI Visa driver, but I am never able to get this dll file. I have also tried installing the measurement studio itself, but that also does not help to get this file.
Thank you.
Nishant