Echelon i.LON SmartServer 2.0 User Manual

Page 75

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

5-10

Request (data point updates recorded during a specific interval)

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

<xSelect>//Item

[UCPTlastUpdate&gt;="

2008-02-28T13:15:00.000+00:00"]

[UCPTlastUpdate&lt;=" 2008-02-28T13:20:00.360+00:00"]

[position()&gt; =last()-64][@xsi:type="UFPTdataLogger_Data"]

</xSelect>

<Item>

<UCPTname>Net/LON/iLON

App/Data

Logger[3]</UCPTname>

</Item>

</iLonItem>

</Read>

Response

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

<UCPTfaultCount>0</UCPTfaultCount>

<Item

xsi:type="UFPTdataLogger_Meta_Data">

<UCPTname>Net/LON/iLON

App/Data

Logger[3]</UCPTname>

<UCPTlastUpdate>2008-02-28T13:30:10.010-08:00</UCPTlastUpdate>
<UCPTstart>2008-02-28T13:02:07.220-08:00</UCPTstart>
<UCPTstop>2008-02-28T13:30:10.000-08:00</UCPTstop>
<UCPTmodificationNumber>0</UCPTmodificationNumber>
<UCPTlogLevel>13.392</UCPTlogLevel>
<UCPTtotalCount>90</UCPTtotalCount>
</Item>

<Item xsi:type="UFPTdataLogger_Data" >

<UCPTname>Net/LON/iLON App/Digital Output 1/nviClaValue_1</UCPTname>

<UCPTaliasName>nviClaValue_1</UCPTaliasName>
<UCPTlastUpdate>2008-02-28T13:18:00.220-08:00</UCPTlastUpdate>
<UCPTvalue

LonFormat="#0000000000000000[0].SNVT_switch">0.0

0</UCPTvalue>

<UCPTvalue

LonFormat="UCPTvalueDef">OFF</UCPTvalue>

<UCPTpointStatus

LonFormat="UCPTpointStatus">AL_NO_CONDITION</UCPTpointStatus>

<UCPTpriority>255</UCPTpriority>
<UCPTmetaDataPath>//*[@xsi:type=“UFPTdataLogger_Meta_Data”]

[UCPTname=“Net/LON/iLON

App/Data

Logger[3]”]

</UCPTmetaDataPath>
</Item>

<Item xsi:type="UFPTdataLogger_Data" >

<UCPTname>Net/LON/iLON App/Digital Output 1/nviClaValue_1</UCPTname>

<UCPTaliasName>nviClaValue_1</UCPTaliasName>
<UCPTlastUpdate>2008-02-28T13:19:00.060-08:00</UCPTlastUpdate>
<UCPTvalue

LonFormat="#0000000000000000[0].SNVT_switch">100.0

1</UCPTvalue>

<UCPTvalue

LonFormat="UCPTvalueDef">ON</UCPTvalue>

<UCPTpointStatus

LonFormat="UCPTpointStatus">AL_NO_CONDITION</UCPTpointStatus>

<UCPTpriority>255</UCPTpriority>
<UCPTmetaDataPath>//*[@xsi:type=“UFPTdataLogger_Meta_Data”]

[UCPTname=“Net/LON/iLON

App/Data

Logger[3]”]

</UCPTmetaDataPath>
</Item>
</iLonItem>

</ReadResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

In addition to the requested log entries, the Read function returns an <Item> of type
“UFPTdataLogger_Meta_Data” for each log file from which entries were read. This item has the
following properties

<UCPTname>

The name of the data logger from which entries were read in
the following format: <network/channel/device/functional
block
>.

<UCPTlastUpdate>

A timestamp indicating the time that the last log entry was
made.

<UCPTstart>

<UCPTstop>

Timestamps indicating the log times of the first and last log

Advertising