Echelon LNS User Manual

Page 8

Advertising
background image

LNS Programmer's Guide

vi

LonWorks Interfaces Control Panel.....................................................................................22

Support for i.LON 1000, i.LON 600 and ANSI/CEA-852 Channels ..................................22

Flexible Program ID..............................................................................................................23

Modifiable Device-Specific Configuration Properties .........................................................23

Changeable Network Variable Types ..................................................................................24

Security ...............................................................................................................................................26

Chapter 3 - LNS Overview

................................................................................................................ 27

Introduction to LNS ...........................................................................................................................28

The LNS Programming Model...........................................................................................................29

LNS Components................................................................................................................................30

LNS Databases and the LNS Server ..........................................................................................30

LNS Object Server .......................................................................................................................31

LNS Object Server Hierarchy...............................................................................................32

Network Service Devices .............................................................................................................35

Network Interfaces ......................................................................................................................35

LNS Network Services .......................................................................................................................36

Network Management .................................................................................................................36

Monitor and Control ....................................................................................................................37

LNS Clients.........................................................................................................................................37

Local Client Applications ............................................................................................................38

Lightweight Client Applications.................................................................................................39

Full Client Applications...............................................................................................................40

Independent Clients.....................................................................................................................41

Getting Started...................................................................................................................................41

Chapter 4 - Programming an LNS Application

........................................................................... 45

Programming an LNS Application....................................................................................................46

Importing the LNS ActiveX Control .................................................................................................46

Importing the Control into Visual Basic 6.0 ..............................................................................46

Importing the Control into Visual C++ ......................................................................................47

Initializing an LNS Application ........................................................................................................48

Initializing a Local Client Application .......................................................................................48

Selecting the Access Mode ....................................................................................................49

Specifying the Licensing Mode .............................................................................................49

Opening the Object Server....................................................................................................50

Selecting a Network Interface ..............................................................................................50

Opening a Network ...............................................................................................................51

Initializing a Remote Full Client Application............................................................................52

Selecting the Access Mode ....................................................................................................53

Specifying the License Mode.................................................................................................53

Opening the Object Server....................................................................................................54

Selecting a Network Interface ..............................................................................................54

Opening a Network ...............................................................................................................55

Initializing a Remote Lightweight Client Application ..............................................................57

Selecting the Remote Access Mode.......................................................................................58

Specifying the License Mode.................................................................................................58

Opening the Object Server....................................................................................................59

Opening a Network ...............................................................................................................59

Initializing an Independent Client .............................................................................................60

Opening a System...............................................................................................................................61

Setting System Parameters.........................................................................................................63

Using Transactions and Sessions......................................................................................................65

Managing Transactions ...............................................................................................................65

Advertising