beautypg.com

3 data log read, Data log read -18, Data log read – Echelon i.LON SmartServer 2.0 User Manual

Page 32

background image

i.LON SmartServer 2.0 Programmer’s Reference

2-18

20



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


0

xsi:type="Dp_Data"

>

Net/LON/iLON

App/Digital

Input

1/nvoClsValue_1

Dp_Out;xsi:type="LON_Dp_Cfg"
0
NVL_nvoClsValue_1

LonFormat="#0000000000000000[0].SNVT_switch"

>100.0

1

LonFormat="UCPTvalueDef"

>ON




2.10.3

Data Log Read

You can read the contents of the alarm logs and data logs stored on the SmartSever. The following
example demonstrates how to use the Read function to read the elements in a Data Log.

Request Message


xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

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

2008-04-08T10:28:36.840-07:00
0300000A5BF2
10.2.124.53
80
2008-04-07T23:45:19Z
54



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

//Item

[@xsi:type="UFPTdataLogger_Data"]

[UCPTlastUpdate > "2008-04-08T00:00:00.000"

and UCPTlastUpdate <= "2008-04-08T12:00:00.000"]

[position()< 3]

Net/LON/iLON

App/Data

Logger[0]



Response Message


xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

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

2008-04-08T11:30:31.272-07:00
0300000A5BF2
10.2.124.53
80
2008-04-08T18:22:52Z
83