beautypg.com

2 using the get function on the data server, Using the get function on the data server -5, Using the get function on the data server – Echelon i.LON SmartServer 2.0 User Manual

Page 46

background image

i.LON SmartServer 2.0 Programmer’s Reference

4-5

You can use additional filters in the xSelect statement to return a specific set of data points on the Data
Server. These filters include the data point’s and properties, and its
position on the data server.

Request (return all data points on the internal SmartServer automated systems device [i.LON
App])



//Item[@xsi:type="Dp_Cfg"]

[starts-with(UCPTname,"Net/LON/iLON

App")]



Request (return the first 5 data points on the Net/LON/DIO-1/Digital Encoder functional block
that have been updated since 2008-03-17T00:00:00)



//Item[@xsi:type="Dp_Cfg"][position()<5]

[starts-with(UCPTname,"Net/LON/DIO-1/Digital

Encoder")]

[UCPTlastUpdate>"2008-03-17T00:00:00"]


Response



0

4.0

Net/LON/DIO-3/Digital

Encoder[0]/DE_D1_1

Dp_In;xsi:type=“LON_Dp_Cfg”
0


Net/LON/DIO-3/Digital

Encoder[1]/DE_D1_2

Dp_In;xsi:type=“LON_Dp_Cfg”
0


Net/LON/DIO-3/Digital

Encoder[0]/DE_D2_1

Dp_In;xsi:type=“LON_Dp_Cfg”
0


Net/LON/DIO-3/Digital

Encoder[1]/DE_D2_2

Dp_In;xsi:type=“LON_Dp_Cfg”
0


Net/LON/DIO-3/Digital

Encoder[0]/DE_D3_1

Dp_In;xsi:type=“LON_Dp_Cfg”
0


4.3.2

Using the Get Function on the Data Server

You can use the Get function to retrieve the configuration of any data point that you have added to the
SmartServer’s Data Server. The input parameters you supply to the function will include one or more
elements. Each element includes a property that you can use to specify
the data point to be returned, as well as any number of child elements you can use to identify the data
points whose configurations are to be returned.