©
National Instruments Corporation
5
NI USB-9421 User Guide and Specifications
•
Taking Measurements
—Contains the conceptual and how-to
information you need to acquire and analyze measurement data in
LabVIEW, including common measurements, measurement
fundamentals, NI-DAQmx key concepts, and device considerations.
LabWindows/CVI
The
Data Acquisition
book of the L
abWindows/CVI Help
contains
measurement concepts for NI-DAQmx. This book also contains
Taking
an NI-DAQmx Measurement in LabWindows/CVI
, which includes
step-by-step instructions about creating a measurement task using the DAQ
Assistant. In LabWindows
™
/CVI
™
, select
Help»Contents
, then select
Using LabWindows/CVI»Data Acquisition
.
The
NI-DAQmx Library
book of the
LabWindows/CVI Help
contains
API overviews and function reference for NI-DAQmx.
Select Library
Reference»NI-DAQmx Library
in the
LabWindows/CVI Help
.
Measurement Studio
If you program your NI-DAQmx-supported device in Measurement Studio
using Visual C++, 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 .NET. You can generate the configuration code
based on your task or channel in Measurement Studio. Refer to the
DAQ
Assistant Help
for additional information about generating code. You also
can create channels and tasks, and write your own applications in your
ADE using the NI-DAQmx API.
For help with NI-DAQmx methods and properties, refer to the NI-DAQmx
.NET Class Library or the NI-DAQmx Visual C++ Class Library included
in the
NI Measurement Studio Help
. For general help with programming in
Measurement Studio, refer to the
NI Measurement Studio Help
, which is
fully integrated with the Microsoft Visual Studio .NET help. To view
this help file in Visual Studio. NET, select
Measurement Studio»
NI Measurement Studio Help
.
To create an application in Visual C++, Visual C#, or Visual Basic .NET,
follow these general steps:
1.
In Visual Studio .NET, select
File»New»Project
to launch the New
Project dialog box.
2.
Find the Measurement Studio folder for the language you want to
create a program in.
3.
Choose a project type. You add DAQ tasks as a part of this step.