beautypg.com

Programming devices in software – National Instruments NI 6509 User Manual

Page 3

background image

© National Instruments Corporation

3

NI 6509 User Guide and Specifications

Programming Devices in Software

National Instruments measurement devices are packaged with NI-DAQ
driver software, an extensive library of functions and VIs you can call from
your application software, such as LabVIEW or LabWindows

/CVI

, to

program all the features of your NI measurement devices. Driver software
has an application programming interface (API), which is a library of VIs,
functions, classes, attributes, and properties for creating applications for
your device.

NI-DAQ 8.x includes two NI-DAQ drivers, Traditional NI-DAQ (Legacy)
and NI-DAQmx. Each driver has its own API, hardware configuration, and
software configuration. Refer to the DAQ Getting Started Guide for more
information about the two drivers.

Traditional NI-DAQ (Legacy) and NI-DAQmx each include a collection of
programming examples to help you get started developing an application.
You can modify example code and save it in an application. You can use
examples to develop a new application or add example code to an existing
application.

To locate LabVIEW and LabWindows/CVI examples, open the National
Instruments Example Finder:

In LabVIEW, select Help»Find Examples.

In LabWindows/CVI, select Help»NI Example Finder.

Measurement Studio, Visual Basic, and ANSI C examples are in the
following directories:

NI-DAQmx examples for Measurement Studio-supported languages
are in the following directories:

MeasurementStudio\VCNET\Examples\NIDaq

MeasurementStudio\DotNET\Examples\NIDaq

Traditional NI-DAQ (Legacy) examples for Visual Basic are in the
following two directories:

NI-DAQ\Examples\Visual Basic with Measurement

Studio

directory contains a link to the ActiveX control examples

for use with Measurement Studio

NI-DAQ\Examples\VBasic

directory contains the examples not

associated with Measurement Studio

NI-DAQmx examples for ANSI C are in the

NI-DAQ\Examples\

DAQmx ANSI C Dev

directory

Traditional NI-DAQ (Legacy) examples for ANSI C are in the

NI-DAQ\Examples\VisualC

directory

For additional examples, refer to

zone.ni.com

.