Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
22 ratings:
 3 out of 5     Rate this Document

Programming NI-DAQ in Text-Based Languages

Primary Software: Measurement Studio>>Professional Edition (Base Package)
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: LabWindows/CVI Development Systems, Measurement Studio
Hardware: Multifunction DAQ (MIO)

Problem:
What options do I have when programming NI-DAQ in text-based languages using different versions of Visual Studio?

Solution:
This table provides an overview of the different options you have for creating a NI-DAQ application, based on your language of preference (Visual Basic 6.0, Visual Basic.NET, Visual C#, or Visual C++ (MFC)), the NI-DAQ Driver (Traditional or DAQmx ), and whether you have Measurement Studio or not. You can follow the links on the table itself or use the links at the bottom of the page for more information about the options.
  • Measurement Studio For Visual Studio.NET provides native .NET 1.1 and MFC C++ libraries for advanced analysis, scientific user interface controls and measurement data networking. It also provides code generation and integration tools, all for use with Visual Studio 2003. Refer to this column if you are developing a NI-DAQ application using Visual Studio .NET 2003 and you have Measurement Studio 7.0 or later.
  • Measurement Studio Support for Visual Studio 6.0 provides Visual Basic 6.0 Activex controls, MFC C++ libraries for advanced analysis, scientific user interface controls and measurement data networking. It also provides integration tools for use with Visual C++ 6.0 and Visual Basic 6.0. This support is available as a part of Measurement Studio 7.0 ( Professional or higher ). Refer to this column if you are developing a DAQ application using Visual Basic 6.0 or Visual C++ 6.0 and you have Measurement Studio Support for Visual Studio 6.0 installed. This was previously available as Measurement Studio 6.0.
  • Visual Studio only (without Measurement Studio) refers to the development options if you have only Visual Studio and no Measurement Studio packages installed. This means you use Visual Studio 6.0 for developing DAQ applications using Visual C++ 6.0.


Measurement Studio For Visual Studio.NET Measurement Studio Support for Visual Studio 6.0Visual Studio only
(without Measurement Studio)
Visual Basic 6.0Traditional NI-DAQN/AOptimalYes
NI-DAQmxN/AYesYes
Visual Basic .NETTraditional NI-DAQPossibleN/APossible
NI-DAQmxOptimalN/AYes
Visual C++ 6.0Traditional NI-DAQN/AYesYes
NI-DAQmxN/AYesYes
Visual C++ .NET(MFC)Traditional NI-DAQYesN/AYes
NI-DAQmxOptimalN/AYes
Visual C# Traditional NI-DAQPossibleN/APossible
NI-DAQmxOptimalN/AYes
OPTIMAL: Project wizards, code generation and configuration tools are provided to accelerate DAQ application development.
YES: Native components are provided for this purpose and shipping examples are included.
NO: The component is not designed for this environment and its use in that environment is not supported by National Instruments. Click on the link for more information.
POSSIBLE: The component was not designed to work natively in that environment, but it is possible to use these components in the required environment by using wrappers or manual configuration. For example, you can use Runtime Callable Wrappers for accessing ActiveX controls in C# or Visual Basic.NET or by manually setting up a Visual C++ project to use C import libraries. Refer to the link for more information.
N/A: The particular Measurement Studio package does not provide support for the particular language of choice. Refer to the link for more information.


Related Links: KnowledgeBase 3146J6FQ: Programming DAQ in Visual Basic 6.0
KnowledgeBase 3178NEFQ: Programming DAQ in Visual Basic .NET
KnowledgeBase 317BPGW3: Programming DAQ in Visual C++ 6.0
KnowledgeBase 317CP7W3: Programming DAQ in Visual C++ .NET
KnowledgeBase 3186P9W3: Programming DAQ in Visual C# .NET

Attachments:





Report Date: 09/08/2003
Last Updated: 04/24/2007
Document ID: 317742FQ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit