Measurement Studio for .NET Languages

Showing results for 
Search instead for 
Did you mean: 
Reply

NationalInstruments.VisaNS.dll missing

Solved!
Go to Solution

NationalInstruments.VisaNS.dll missing

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.

 

 

0 Kudos
Message 1 of 6 (7,128 Views)
Reply
0 Kudos
Solution
Accepted by topic author AlbertJ
‎08-27-2015 06:09 PM

Re: NationalInstruments.VisaNS.dll missing

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

0 Kudos
Message 2 of 6 (7,110 Views)
Reply
0 Kudos

Re: NationalInstruments.VisaNS.dll missing

Hi Jen,

Thank you for the info.  Installing he new visa worked. All my projects compile now.

0 Kudos
Message 3 of 6 (7,057 Views)
Reply
0 Kudos

Re: NationalInstruments.VisaNS.dll missing

Great! 

 

Happy coding,

 

Jen W

Applications Engineer

National Instruments

ni.com/support

0 Kudos
Message 4 of 6 (7,044 Views)
Reply
0 Kudos

Re: NationalInstruments.VisaNS.dll missing

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

0 Kudos
Message 5 of 6 (5,530 Views)
Reply
0 Kudos

Re: NationalInstruments.VisaNS.dll missing

Olivia,

Download and install the latest visa driver from NI.  Do a search for NI-VISA.

Hope that helps.

 

AJ

0 Kudos
Message 6 of 6 (5,523 Views)
Reply
0 Kudos