Hi
I have a question about importing Ni Libirary to my VS 2012 project. ( Using visual basic .NET, Windows 7 and VS 2012)
I currently test FindReources(NI-VISA) example project to apply some of function to my project.
Sample project was working fine, it was returnning resource data corrent.
However, when I tried to apply Find Resource function to "My project"
it kept appearing error message such as "ResourceManager is not declared. It may be inaccessible due to its protection level"
What I did was ...
First, I added reference to my project
Second, I imported "Imports NationalInstruments.VisaNS" to my vb file
However, error keep appearing, so I can't use function.
And, When I re-start VS and check Object brower
there is NI-VISA reference and error is gone
However, When I run the project, NI.VisaNS library just disappear ...
I am not really sure what this happen because Sample project from NI is working without any trouble.
Is there any missing step to import and use NI library ?
Thanks