Overview of the example applications – Echelon LonTal Stack User Manual

Page 218

Advertising
background image

206

Appendix G: Appendix G


Example LonTalk

Stack Applications

Overview of the Example Applications

The LonTalk Stack Developer’s Kit includes three example applications that are

stored in the LonWorks\LonTalkStack\Examples directory. You can build
these example applications with Microsoft Visual Studio 2008, and then run

them on Windows. To run the examples, you must install OpenLDV 4.0, which

you can download for free from the Echelon Web site at

www.echelon.com/support/downloads

. The following table describes these three

example applications:

Function

Description

SimpleLtDevice

Simulates a voltage amplifier device. This device receives
an input voltage value, multiplies the value by 2, and

outputs the new value.
This simulated device connects to a native LonWorks
channel via OpenLDV 4.0 (or later), using a standard

LonTalk network interface.
This example requires a Layer 2 network interface such
as the Echelon U10 USB Network Interface or PCC-10,

PCLTA-20, or PCLTA-21 network interface card. This

network interface cannot be shared with the OpenLNS
Commissioning Tool or any other application.

SimpleIp852Device

Identical to the SimpleLtDevice example, but it

connects to an IP-852 channel.
To connect the SimpleLtDevice to an IP-852 channel,
you need to install the Echelon IP-852 Configuration

Server (you can download this app for free from the

Echelon Web site at

www.echelon.com/support/downloads

).

In the IP-852 Configuration Server, you will define the
IPv4 address and port number of the

SimpleIp852Device and any other IP-852 devices that

it communicates with.

For example, to test the SimpleIp852Device with

OpenLNS CT, you can define an IP-852 channel that
consists of two IP-852 devices: the SimpleIp852Device

and OpenLNS CT.

Advertising