Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-VISA not shown in VB.NET References

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?

 

 

 

 

Message 1 of 4
(4,239 Views)

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.

- Regards,

Beutlich
0 Kudos
Message 2 of 4
(4,208 Views)

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

 

 

0 Kudos
Message 3 of 4
(4,195 Views)

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.

- Regards,

Beutlich
0 Kudos
Message 4 of 4
(4,181 Views)