Example – Echelon LNS DDE Server User Manual
Page 91
Selector Index
Selector
1
DEVICE_CLASS
2
DEVICE_CLASS and SUB_CLASS
3
MANUFACTURER
4
MANUFACTURER and DEVICE_CLASS
5
MANUFACTURER and DEVICE_CLASS
and SUB_CLASS
6
MANUFACTURER and DEVICE_CLASS
and SUB_CLASS and MODEL
The scope selector does not have to match the selector used by
the functional profile template defining the LonMark object(s)
on the device.
format type
The format type name specified in the format file. The format
type name must match a type name in the type file associated
with the format file, or in a type file with a lower scope
selector value.
format modifier
A modifier for the format type name that allows multiple
formats to be specified for the same type.
Requesting a One-Time Configuration Property Update
To request a one-time update, your application sends a DDE Request message to the
LNS DDE Server. The LNS DDE Server responds with the requested value. This
works almost exactly like requesting network variables as described in Chapter 5;
the difference is how the item is specified and which topic type is used.
Example
Here are two examples of application, topic, and item specifications for requesting a
configuration property update.
Example 1:
Application
LNSDDE
Topic
NetworkDDE.HVAC.LMCP
Item
DO- 1.TransTemp.UCPTenumMap[ 7]
Example 2:
Application
LNSDDE
Topic
XD32.SubC.LMNVCP
Item
AO- 1.PID Controller[1].PID_SP_2.UCPTdefaultIn
See Requesting a One-Time Update Using Excel and Requesting a One-Time Update
Using InTouch in Chapter 5, for Excel and InTouch examples.
LNS DDE Server User's Guide
6-5