© National Instruments Corporation v NI-DNET User Manual
ContentsAbout This Manual
How to Use the Manual Set...........................................................................................ix
Conventions...................................................................................................................x
Related Documentation..................................................................................................x
Chapter 1
NI-DNET Software Overview
Installation and Configuration.......................................................................................1-1
Measurement & Automation Explorer (MAX)...............................................1-1
Verify Installation of Your DeviceNet Hardware...........................................1-1
Configure DeviceNet Port.................................................................1-3
Change Protocol................................................................................1-3
LabVIEW Real-Time (RT) Configuration......................................................1-3
Tools................................................................................................................1-3
NI-Spy...............................................................................................1-4
SimpleWho........................................................................................1-4
NI-DNET Objects..........................................................................................................1-4
Interface Object...............................................................................................1-5
Explicit Messaging Object..............................................................................1-5
I/O Object........................................................................................................1-6
Example...........................................................................................................1-6
Using NI-CAN with NI-DNET......................................................................................1-7
Chapter 2
NI-DNET Hardware Overview
Types of Hardware.........................................................................................................2-1
Differences Between CAN Kits and DeviceNet Kits....................................................2-2
Chapter 3
Developing Your Application
Accessing NI-DNET from your Programming Environment........................................3-1
LabVIEW........................................................................................................3-1
LabWindows/CVI............................................................................................3-2
Microsoft Visual Basic....................................................................................3-2
Microsoft C/C++.............................................................................................3-3
Borland C/C++................................................................................................3-3
Other Programming Languages.......................................................................3-4