© National Instruments Corporation 3-1 NI-DNET User Manual
3
Developing Your ApplicationThis chapter explains how to develop an application using the NI-DNET
functions.
Accessing NI-DNET from your Programming
Environment
Applications can access the NI-DNET driver software by using either
LabVIEW, LabWindows™/CVI™, Microsoft Visual C/C++, Borland
C/C++, or Visual Basic. If you are using any other development
environment, you must access the DNET library directly. Each of these
language interface techniques is summarized below.
LabVIEW
For applications written in LabVIEW, NI-DNET provides a complete
function library, front panel controls, and examples.
NI-DNET functions and controls are available in the LabVIEW palettes. In
LabVIEW 7.1 or later, the NI-DNET palette is located within the top-level
NI Measurements palette. In earlier LabVIEW versions, the NI-DNET
palette is located at the top-level.
The reference for each NI-DNET function is provided in the NI-DNET
Programmer Reference Manual. To access the reference for a function
from within LabVIEW, press <Ctrl-H> to open the help window, click on
the NI-DNET function, and then follow the link.
The NI-DNET software includes a full set of examples for LabVIEW.
These examples teach basic NI-DNET programming as well as advanced
topics. The example help describes each example and includes a link you
can use to open the VI. The NI-DNET example help is in Help»Find
Examples»Hardware Input and Output»DeviceNet.