Lns turbo edition example application suite, Network management example – Echelon LNS User Manual

Page 352

Advertising
background image

LNS Programmer's Guide

338

LNS Turbo Edition Example Application Suite

LNS Turbo Edition features several example applications you will find useful when

developing your own applications. This appendix provides an overview of each

application. In addition, each application includes comments that provide more specific
detail on the example code.

The LNS Turbo Edition example application suite includes the following:

Network Management Example

Monitor and Control Example

xDriver Example Applications

Example Director Application

These example applications demonstrate a number of key LNS features and concepts.

The network management and monitor and control examples are C++ applications that

create an instance of the LNS Object Server, and uses wrappers generated by the

#import statement to implement the objects.

The example applications and all supporting files can be found in the
<LNSDIR>\ObjectServer\Examples directory, where <LNSDIR> represents the target

directory you have chosen to install LNS to. Each application has its own respective

folders within this directory.

Network Management Example

The network management example application supports operation as a Local,

Lightweight, or Full client, and utilizes a variety of LNS features for network

management that you can use to build and configure a network.

Device .XIF, .APB and .XFB files used by the network management application are
located in the <LNSDIR>\ObjectServer\Examples\Import directory. For initial

viewing of the network management example application, Echelon recommends using

the examples on a network consisting of 3 LTM-10A devices and an

i

.LON 600

L

ON

W

ORKS

/IP Server. Gizmo 4 I/O boards are not necessary as the I/O is limited to the

exposed LED on I/O 0 and pushbutton on I/O4. If you are not using LTM-10A device/s,
rebuild the .nc files in the <LNSDIR>\ObjectServer\Examples\NcSource directory.
Replace the .XIF, .APB and .XFB files of the corresponding device in the Import

subfolder.

The following sections describe the features encompassed by the example network

management application. To start the network management example application, select

Echelon LNS Application Developer’s Kit>Examples & Tutorials>LNS Network
Management Example
from the Windows Programs menu. This opens the dialog

shown in Figure C.1.

Advertising