beautypg.com

2 using the get function on a lonworks channel, Using the get function on a l, Orks – Echelon i.LON SmartServer 2.0 User Manual

Page 212: Channel -12, Channel

background image

i.LON SmartServer 2.0 Programmer’s Reference

14-12


Net/LON

IP

IP;xsi:type="LON_Channel_Cfg"
1


The List function returns a list of elements for each L

ON

W

ORKS

channel defined on the

SmartServer or each L

ON

W

ORKS

channel defined in a specific LNS network database.

You could use the list of elements returned by this function as input for the Get function. The
Get function would then return the configuration of each channel included in the list. The next section
describes the properties included in each of these elements.

14.2.2

Using the Get Function on a L

ON

W

ORKS

Channel

You can use the Get function to retrieve the configuration of a L

ON

W

ORKS

channel defined on the

SmartServer or a L

ON

W

ORKS

channel in a specific LNS network database. The input parameters you

supply to this function will include one or more elements with a LON_Channel_Cfg type.
Each element will include the of each channel whose configuration is to be
returned by this function, as shown in the example below.

Request



xsi:type="LON_Channel_Cfg">

Net/LON


Response



0

xsi:type="LON_Channel_Cfg">

Net/LON
TP;xsi:type="LON_Channel_Cfg"
0
2008-03-20T17:42:54.903-07:00
LON_Channel_Cfg.htm
0

LonFormat="UCPTchannelType">CT_LON

LonFormat="UCPTtransceiverId">TP_FT_10

LonFormat="UCPTtransmitTimer">TT_96

3
4

LonFormat="UCPTchannelMode">AM_ONLINE

LonFormat="UCPTdynamic">DDT_STATIC




The Get function returns an element for each channel referenced in the input parameters you
supplied to the function. The properties included within each element are initially defined
when the channel is added to the SmartServer or LNS network database. You can write to these
channel properties with the Set function. The following table describes these properties.

Property Description

The name of the channel in the following format:
<network/channel>. You can rename a L

ON

W

ORKS

channel by

providing its and specifying the new