LabWindows/CVI
The
Data Acquisition
book of the
LabWindows/CVI Help
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
. This book also contains information
about accessing detailed information through the
NI-DAQmx Help
.
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
.
Microsoft Visual Studio Support
You can use the NI-DAQmx .NET class library to communicate with and control an NI data
acquisition (DAQ) device. Documentation for the NI-DAQmx .NET class library is available
by selecting
Start
»
All Programs
»
National Instruments
»
NI-DAQmx
»
NI-DAQmx
Documentation
and then opening the
NINETDAQmxFxXX.chm
help file corresponding to the
version of NI-DAQmx .NET Framework language support you have installed.
•
Measurement Studio Support for NI-DAQmx
—If you program your NI-DAQmx-
supported device in Visual Studio using Visual C# or Visual Basic .NET, you can
interactively create channels and tasks using Measurement Studio and the DAQ Assistant.
Additionally, 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.
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
. Choose a project type. You add DAQ tasks
as a part of this step.
•
.NET Languages without NI Application Software
—With the Microsoft .NET
Framework, you can use the NI-DAQmx .NET class library to create applications using
Visual C# and Visual Basic .NET without Measurement Studio. Refer to the
NI-DAQmx
Readme
for specific versions supported.
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,
FD-11613 User Guide
|
© National Instruments
|
39