이 내용은 고객님의 설정 언어로 확인할 수 없습니다

이 내용은 다른 사용 가능한 언어로 표시됩니다. 고객님께서 사용하시는 브라우저에 텍스트 번역에 도움이되는 기능이 포함되어 있을 수 있습니다.

Using DAQmx in Visual Studio .NET With or Without Measurement Studio

Updated May 31, 2024

Reported In

Software

  • Measurement Studio

Driver

  • NI-DAQmx

Programming Language

  • C# .NET
  • Visual Basic .NET

Other

Microsoft Visual Studio

Issue Details

•    Do I need Measurement Studio to use NI-DAQmx with the .NET languages, such as Microsoft Visual C# and Visual Basic .NET?
•    Do I need a Measurement Studio license and a Microsoft Visual Studio license to use NI-DAQmx in Visual Basic or C#?
•    Do I need Measurement Studio to communicate with an I/O card in Visual Studio?
•    How do I install DAQmx to work within Visual Studio if I do not need Measurement Studio?
 

Solution

It is not necessary to have Measurement Studio in order to communicate with DAQ cards in Visual Studio. NI provides a native .NET API for NI-DAQmx that is available as part of the NI-DAQmx driver and does not require Measurement Studio. 

If Measurement Studio is installed, it will provide additional native .NET class libraries, integration, and code generation tools for Visual Studio. For example, Measurement Studio 7.0 and later adds the DAQ Assistant for code generation, integrated Visual Studio help, user interface .NET controls, and project wizards. 

To install .NET support with the NI-DAQmx driver, refer to Installing NI Software for Visual Studio C# or .NET Development. For NI-DAQmx .NET Library help documentation and examples, refer to .NET Resources for NI Hardware and Software.

Additional Information

To install language support for Visual Studio 2008 C++ MFC, you must have Measurement Studio for Visual Studio 2008.