NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
schwabe111
Posts: 15
0 Kudos
Accepted Solution

using NationalInstruments.VisaNS; command not working

Hi all,

 

I'm having trouble including the Nationalinstruments namespace to my application (MS Visual Studio 2010 C#).

 

I have added the references NationalInstruments.Common and NationalInstruments.VisaNS like in the example files.

 

However, I get an error message during built saying:

 

error CS0246: The type or namespace name 'NationalInstruments' could not be found (are you missing a using directive or an assembly reference?)

 

What am I missing here?

 

Thanks,

Benjamin

Active Participant
D_Biel
Posts: 639
0 Kudos

Re: using NationalInstruments.VisaNS; command not working

This is a double post. Let's keep the discussion on the other thread because this is a C# .NET issue and not related to MStudio for VC++. I have posted a response to the other thread.

 

http://forums.ni.com/t5/Measurement-Studio-for-NET/Namespace-NationalInstruments-not-found/td-p/1885...

National Instruments
Product Support Engineer
Member
schwabe111
Posts: 15
0 Kudos

Re: using NationalInstruments.VisaNS; command not working

Problem was solved in the other thread.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page