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 the Visual Studio 2003/2005/2008 environments provides a collection of managed .NET and MFC C++ libraries for advanced analysis, scientific user interface controls and measurement data networking. It also provides code generation and integration tools with Visual Studio. Refer to the Measurement Studio for Visual Studio 2003/2005/2008 column if you are developing a NI-DAQ application using Visual Studio 2003/2005/2008 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.
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: Developer's Zone: Text Based NI-DAQmx ExamplesKnowledgeBase 3146J6FQ: Programming NI-DAQ in Visual Basic 6.0KnowledgeBase 3178NEFQ: Programming NI-DAQ in Visual Basic .NETKnowledgeBase 317BPGW3: Programming NI-DAQ in Visual C++ 6.0KnowledgeBase 317CP7W3: Programming NI-DAQ in Visual C++ MFCKnowledgeBase 3186P9W3: Programming NI-DAQ in Visual C# .NET
Attachments:
Report Date: 09/08/2003
Last Updated: 12/01/2008
Document ID: 317742FQ