Using lonworks/ip interfaces, Using l, Ip interfaces – Echelon LNS User Manual

Page 286

Advertising
background image

LNS Programmer's Guide

272

In Figure 11.1, the LNS Server is using xDriver to connect to two

i

.LON 10 Ethernet

Adapters. The OpenLDV xDriver integrates with LNS at the same point as other LNS
network interfaces such as the PCC-10 and the PCLTA-20.

The OpenLDV xDriver supports scalable access to many network interface devices. The

default xDriver implementation uses the Windows Registry as a database to store the

information it requires to connect to each network interface. For small-scale
deployments, it is most efficient to use this as the xDriver database.

However, for larger deployments (defined to be more than 100 network interfaces), you

should conduct a performance characterization to determine whether the performance

achieved with the default Windows Registry based information store is acceptable for

your application. If this performance does not meet your needs, Echelon recommends
that you extend the default xDriver to use an external database of sufficient performance

as your network interface information store. xDriver includes an extension mechanism

that will support the external database of your choice.

If you do not plan to extend the default xDriver implementation to use an external

database, you can begin using the default xDriver to configure and connect to your
network interfaces, as described in Chapter 2, Using the Default xDriver, of the

OpenLDV Programmer’s Guide, xDriver Supplement. If you plan to extend the default
xDriver implementation, see Chapter 3, Extending the Default xDriver of the OpenLDV

Programmer’s Guide, xDriver Supplement.

The OpenLDV Programmer’s Guide and the OpenLDV Programmer’s Guide, xDriver

Supplement can be downloaded from Echelon’s website at:

http://www.echelon.com/support/documentation/default.htm

Using L

ON

W

ORKS

/IP Interfaces

As described earlier in this chapter, you can use an Ethernet network card combined

with the TCP/IP protocol as an LNS high performance network interface. This usually

requires the use of one or more routers, such as an

i.

LON 1000 Internet Server, or an

i.

LON 600 L

ON

W

ORKS

/IP Server, as shown in Figure 11.2. To use an Ethernet card as an

LNS network interface and route L

ON

W

ORKS

messages over an IP network, you should

create a L

ON

W

ORKS

/IP

Interface device with the L

ON

W

ORKS

/IP tab of the L

ON

W

ORKS

Interfaces application in the Windows Control Panel.

The IP address and port used by the L

ON

W

ORKS

/IP

Interface must also be defined as a

device on the channel containing the

i.

LON 1000 Internet Server or the

i.

LON 600

L

ON

W

ORKS

/IP Server in the Echelon L

ON

W

ORKS

/IP Configuration Server database.

Advertising