© National Instruments
|
A-3
cDAQ-9185/9189 User Manual
Measurement Studio
If you program your NI-DAQmx-supported device in Measurement Studio using Visual C# or
Visual Basic .NET, you can interactively create channels and tasks by launching the DAQ
Assistant from MAX or from within Visual Studio. You can use Measurement Studio to generate
the configuration code based on your task or channel. Refer to the
DAQ Assistant Help
for
additional information about generating code.
The
NI Measurement Studio Help
is fully integrated with the Microsoft Visual Studio help. To
view this help file from within Visual Studio, select
Measurement Studio»NI Measurement
Studio Help
. For information related to developing with NI-DAQmx, refer to the following
topics within the
NI Measurement Studio Help
:
•
For step-by-step instructions on how to create an NI-DAQmx application using the
Measurement Studio Application Wizard and the DAQ Assistant, refer to
Walkthrough:
Creating a Measurement Studio NI-DAQmx Application
.
•
For help with NI-DAQmx methods and properties, refer to the
NationalInstruments.DAQmx
namespace and the
NationalInstruments.DAQmx.ComponentModel
namespace.
•
For conceptual help with NI-DAQmx, refer to
Using the Measurement Studio NI-DAQmx
.NET Library
and
Creating Projects with Measurement Studio NI-DAQmx
.
•
For general help with programming in Measurement Studio, refer to
Getting Started with
the Measurement Studio Class Libraries
.
To create an NI-DAQmx application using Visual Basic .NET or Visual C#, follow these general
steps:
1.
In Visual Studio, select
File»New»Project
to launch the New Project dialog box.
2.
Choose a programming language (Visual C# or Visual Basic .NET), and then select
Measurement Studio
to see a list of project templates.
3.
Select
NI DAQ Windows Application
. You add DAQ tasks as part of this step. Choose a
project type. You add DAQ tasks as a part of this step.
ANSI C without NI Application Software
The
NI-DAQmx Help
contains API overviews and general information about measurement
concepts. Select
Start»All Programs»National Instruments»NI-DAQmx»NI-DAQmx Help
.
The
NI-DAQmx C Reference Help
describes the NI-DAQmx Library functions, which you can
use with National Instruments data acquisition devices to develop instrumentation, acquisition,
and control applications. Select
Start»All Programs»National Instruments»NI-DAQmx»
Text-Based Code Support»NI-DAQmx C Reference Help
.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com