beautypg.com

2 using the get function on a web connection, Using the get function on a web connection -21, Using the get function on a web connection – Echelon i.LON SmartServer 2.0 User Manual

Page 62

background image

i.LON SmartServer 2.0 Programmer’s Reference

4-21

Dp_In_WebBinding;xsi:type="Dp_Ref"
0


4.4.2

Using the Get Function on a Web Connection

You can use the Get function to retrieve the configuration of any Web connection that you have added
to the SmartServer’s Data Server. The input parameters you supply to the function will include an
element that has an xSelect statement with a Dp_Ref type, and one or more
elements. Each element includes a property that you can use to specify the
source data point in the Web connection to be returned.

Request



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

Net/LON/iLON App/Digital Input 1/nvoClsValue_1



Net/LON/iLON

App/VirtFb/nvoSwitch



Response



0

xsi:type="Dp_Ref">

Net/LON/iLON App/Digital Input 1/nvoClsValue_1

Dp_In_WebBinding
0
2008-03-17T14:29:35.666-07:00

Generated by WB web UI

Dp_Ref.htm

dpType="Target"

discrim="dir_in_out">

Net/LON/iLON

App/Digital

Output

1/nviClaValue_1

LonFormat="UCPTserviceType">ST_WEB_ACK

//WebService[UCPTindex=1]
255
1


xsi:type="Dp_Ref">

Net/LON/iLON

App/VirtFb/nvoSwitch

Dp_In_WebBinding
0
2008-03-19T16:41:23.338-07:00

Generated by WB web UI

Dp_Ref.htm

dpType="Target"

discrim="dir_in_out">

Net/LON/iLON

App/Digital

Output

1/nviClaValue_1

LonFormat="UCPTserviceType">ST_WEB_ACK


255
1



The Get function returns an element for each source data point in a Web connection referenced
in the input parameters you supplied to the function. The properties included within each
element are initially defined when the Web connection is added to the DataServer. You can write to
these properties with the Set function. The following table describes these properties.