Example lontalk stack applications – Echelon LonTal Stack User Manual
Page 34
22
Getting Started with the LonTalk Stack Developer’s Kit
modify and link with your application. This framework contains most of the code
that is needed for initialization and other required processing.
The executable for the LonTalk Interface Developer utility is named LID.exe,
and is installed in the LonTalk Interface Developer directory (usually,
C:\LonWorks\InterfaceDeveloper).
The LonTalk Interface Developer utility also includes a command-line interface
that allows make-file and script-driven use of the utility. For more information
about the command-line interface, see Appendix A, LonTalk Interface Developer
For more information about the LonTalk Interface Developer utility, see Chapter
7, Using the LonTalk Interface Developer Utility.
Example LonTalk Stack 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
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 LonTalk
channel via OpenLDV 4.0 (or later), using a standard
L
ON
W
ORKS
network interface.
This example requires a Layer 2 network interface such
as the Echelon U10 USB Network Interface.
SimpleIp852Device
Identical to the SimpleLtDevice example, but it
connects to an IP-852 channel rather than a native
L
ON
W
ORKS
channel.
This example requires the Echelon IP-852 Configuration
Server (you can download from this app for free from the
Echelon Web site at
).
Ip852Router
A router that connects an IP-852 channel to a native
L
ON
W
ORKS
channel.
This example uses OpenLDV 4.0 (or later) and a standard
Layer 2 L
ON
W
ORKS
network interface to communicate
with the native L
ON
W
ORKS
channel (for example, U10
USB network interface or PCC-10, PCLTA-20, or
PCLTA-21 network interface card).