Echelon LNS DDE Server User Manual

Page 73

Advertising
background image

Each component of the Item format has the following meaning:

device_name

Required. The name of a device, as defined in the LNS

database.

lm_name

Required if the LMNV topic is used. The name of the
L

ON

M

ARK

Object as defined in the LNS database.

nv_name

Required. The name of the network variable on the device,
as defined in the LNS database.

array_index

Required if the network variable is an element in an array of
network variables, array_index is the array index in

square brackets.

field_name

Optional. A field within a structured network variable.
Fields may be within nested structures. Fields are only

available for structured SNVTs and for user-defined types
defined in a user resource file. The field name must be a

parameter contained within a ‘text’ format definition in the
format file for either a SNVT or a user-defined type. A
master list of SNVTs is contained in the LNS Utilities and

LonMark Reference help file included with the LNS DDE
Server. For a user-defined structured data type, the field

names are as defined in a user resource file. The field

cannot be a union.

Parameters

Optional. Multiple parameters can be specified. For each

parameter, zero or more spaces can separate the parameter
and its argument.


The parameter options are:


-a bool

For a variable monitored by polling, this option specifies
whether the poll messages should be sent with authenticated
service. May be set to True or False. The default is the

setting specified for the network in the Network

Configuration dialog.

-b bool

For a variable monitored by polling, this option specifies
whether to use bound updates. May be set to True or
False. The default is the setting specified for the network in

the Network Configuration dialog. This option only applies

to output network variables on the monitored devices.

-i nnnnn

For a variable monitored by polling, this option sets the poll
interval in tenths of a second, where nnnnn is a number

between 1 and 33554431. The default is the setting specified

for the network in the Network Configuration dialog.

LNS DDE Server User's Guide

5-3

Advertising