2 using the get function on a data logger, Using the get function on a data logger -4, Using the get function on a data logger – Echelon i.LON SmartServer 2.0 User Manual

Page 69

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

5-4

<iLonItem>
<Item>
<UCPTname>Net/LON/iLON

App/Data

Logger[0]</UCPTname>

<UCPTannotation>#8000010128000000[4].UFPTdataLogger;xsi:type=“LON_Fb_Cfg”
</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTitemStatus

LonFormat="UCPTitemStatus">IS_NOTSYNCED</UCPTitemStatus>

</Item>
</iLonItem>
</ListResponse>

5.3.2

Using the Get Function on a Data Logger

You can use the Get function to retrieve the configuration of any Data Logger that you have added to
the SmartServer. You must reference the Data Logger whose configuration is to be returned by its
<UCPTname> in the input you supply to the function, as shown in the example below.

Request

<Get xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">

<iLonItem>

<Item xsi:type="UFPTdataLogger_Cfg">

<UCPTname>Net/LON/iLON App/Data Logger[0]</UCPTname>

</Item>

</iLonItem>

</Get>

Response

<GetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>

<Item xsi:type="UFPTdataLogger_Cfg" >

<UCPTname>Net/LON/iLON

App/Data

Logger[0]</UCPTname>

<UCPTannotation>8000010128000000[4].UFPTdataLogger</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTlastUpdate>2008-02-28T11:54:06.890-08:00</UCPTlastUpdate>
<UCPTuri>#8000010128000000[4].UFPTdataLogger_Cfg.htm</UCPTuri>

<DataPoint dpType="nviEnable" discrim="dir_in" >

<UCPTname>Net/LON/iLON

App/Data

Logger[0]/nviDlEnable[0]</UCPTname>

</DataPoint>

<DataPoint dpType="nviClear" discrim="dir_in" >

<UCPTname>Net/LON/iLON

App/Data

Logger[0]/nviDlClear[0]</UCPTname>

</DataPoint>

<DataPoint dpType="nvoLevelAlarm" discrim="dir_out" >

<UCPTname>Net/LON/iLON

App/Data

Logger[0]/nvoDlLevAlarm[0]</UCPTname>

</DataPoint>

<DataPoint dpType="nvoStatus" discrim="dir_out" >

<UCPTname>Net/LON/iLON

App/Data

Logger[0]/nvoDlStatus[0]</UCPTname>

</DataPoint>

<DataPoint xsi:type="UFPTdataLogger_DpRef" dpType="Input" discrim="dir_in" >

<UCPTname>Net/LON/iLON

App/Digital

Input

1/nviClsValueFb_1</UCPTname>

<UCPTlogMinDeltaTime>900</UCPTlogMinDeltaTime>
<UCPTpollRate>900</UCPTpollRate>
</DataPoint>
<UCPTlogType

LonFormat="UCPTlogType">LT_HISTORICAL</UCPTlogType>

<UCPTlogSize>100</UCPTlogSize>
<UCPTlogFormat

LonFormat="UCPTlogFormat">LF_TEXT</UCPTlogFormat>

<UCPTlogLevelAlarm>50</UCPTlogLevelAlarm>
<UCPTlogFileName>Building/LON/iLON

App/Data

Logger[0].csv</UCPTlogFileName>

</Item>
</iLonItem>
</GetResponse>

The function returns an <Item> element for each Data Logger referenced in the input parameters
supplied to the function. The properties included in each element are initially defined when the Data
Logger is created. You can write to them with the Set function. The following table describes these
properties.

Advertising