Using the intouch example – Echelon LNS DDE Server User Manual

Page 31

Advertising
background image

5. Click Yes to start the LNS DDE Server.

6. If a blank spreadsheet opens over the Excel example spreadsheet, close the blank

speadsheet.

7. Excel may time out while the LNS DDE Server starts. If it does, click on cell A7

(the Analog value), click anywhere within the cell formula in the formula bar,
and press the Enter key. This will cause Excel to refresh all links.


The Excel example demonstrates monitoring for a number of analog and digital

points, and one mode output. These points are all defined in the LNS DDE Test

database.

The Excel example also demonstrates how an Excel button can be used to update a

digital input. To change the input to LED 4, enter a new value in cell B17 and click
the POKE Enable on LED 4 button. This will invoke an Excel macro to update LED

4 as described in Chapter 5. For example, to turn on the LED, enter a value of “100.0

1” in cell B17 and click the POKE Enable on LED 4 button. The LED 4 input is also
connected to an Enable output, so you may see the LED flash briefly if you change its

state.

Using the InTouch Example

To use the InTouch example, you will need InTouch 7.0 installed on your PC with the
LNS DDE Server. You will also need a LonPoint Demo Kit to run the example, but

you can open the example in WindowMaker without an attached network if you do

not have LonPoint devices. To open the InTouch example, follow these steps:

1. Import the LNS DDE Test drawing and database as described in Using the

Example LNS Database earlier in this chapter.

2. Select the InTouch WindowMaker shortcut from the Example Application folder

in the Echelon LNS DDE Server program folder.

3. To switch to runtime mode, click Runtime! on the InTouch menu. A dialog

confirming that you want to start the LNS DDE Server is displayed.

4. Click Yes to start the LNS DDE Server.

See Appendix E for a description of how to use the InTouch example, and for a brief
introduction to InTouch.

LNS DDE Server User's Guide

2-15

Advertising