03-02-2012 07:47 AM
I have Installed NI-Visa 488.2.2.8.1 and developing a .NET 4.0 application and having the reference of "NationalInstruments.NI4882,NationalInstruments.VisaNS and NationalInstruments.Common" in project but not able to compile the application getting below error.
The type or namespace name 'NationalInstruments' could not be found (are you missing a using directive or an assembly reference?)
But in other hand able to run the VISA example for .net 4.0 in same machine.
Kindly Help me to resolve this proble and make my weekend happy ![]()
03-02-2012 03:14 PM
Did you add the following code to the top of the cs file you are calling the function from?
using NationalInstruments.VisaNS;