Chapter 2
DAQ System Overview
©
National Instruments Corporation
2-5
Programming Devices in Software
National Instr
u
ments meas
u
rement devices are packaged with NI-DAQ
driver software, an extensive library of f
u
nctions and VIs yo
u
can call from
yo
u
r application software, s
u
ch as LabVIEW or LabWindows/CVI, to
program all the feat
u
res of yo
u
r NI meas
u
rement devices. Driver software
has an application programming interface (API), which is a library of VIs,
f
u
nctions, classes, attrib
u
tes, and properties for creating applications for
yo
u
r device.
USB-621
x
devices
u
se the NI-DAQmx driver. NI-DAQmx incl
u
des a
collection of programming examples to help yo
u
get started developing an
application. Yo
u
can modify example code and save it in an application.
Yo
u
can
u
se examples to develop a new application or add example code to
an existing application.
To locate LabVIEW and LabWindows/CVI examples, open the National
Instr
u
ments Example Finder.
•
In LabVIEW, select
Help»Find Examples
.
•
In LabWindows/CVI, select
Help»NI Example Finder
.
Meas
u
rement St
u
dio, Vis
u
al Basic, and ANSI C examples are located in the
following directories:
•
NI-DAQmx examples for Meas
u
rement St
u
dio-s
u
pported lang
u
ages
are in the following directories:
–
Mea
s
urementStudio\VCNET\Example
s
\NIDaq
–
Mea
s
urementStudio\DotNET\Example
s
\NIDaq
•
NI-DAQmx examples for ANSI C are in the
NI-DAQ\Example
s
\DAQmx ANSI C Dev
directory
For additional examples, refer to
zone.ni.com
.