i.LON SmartServer 2.0 Programmer’s Reference
8-3
querying items of a UFPTanalogFunctionBlock_Cfg type as its input, as shown in the example below.
The List function returns an <Item> element for each Analog Functional Block that you have added to
the SmartServer. The next section describes the properties included in each of these elements.
You could use the list of <Item> elements returned by this function as input for the Get function. The
Get function would then return the configuration of each Analog Functional Block included in the list.
Request
<List xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<xSelect>//Item[@xsi:type="UFPTanalogFunctionBlock_Cfg"]</xSelect>
</iLonItem>
</List>
Response
<ListResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item>
<UCPTname>Net/LON/iLON App/Analog Fn Block[0]</UCPTname>
<UCPTannotation>#8000010128000000[4].UFPTanalogFunctionBlock;xsi:type=“LON_Fb_Cfg”
</UCPTannotation>
<UCPThidden>0</UCPThidden>
</Item>
</iLonItem>
</ListResponse>
8.3.2
Using the Get Function on an Analog Functional Block
You can use the Get function to retrieve the configuration of any Analog Functional Block that you
have added to the SmartServer. You must reference the Analog Functional Block 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>
<UCPTname>Net/LON/iLON App/Analog Fn Block[0]</UCPTname>
</Item>
</iLonItem>
</Get>
Response
GetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<UCPTfaultCount>0</UCPTfaultCount>
<Item xsi:type="UFPTanalogFunctionBlock_Cfg">
<UCPTname>Net/LON/iLON App/Analog Fn Block[0]</UCPTname>
<UCPTannotation>8000010128000000[4].UFPTanalogFunctionBlock</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTlastUpdate>2008-08-06T16:43:06.160-07:00</UCPTlastUpdate>
<UCPTuri>#8000010128000000[4].UFPTanalogFunctionBlock_Cfg.htm</UCPTuri>
<DataPoint dpType="nvoDropOut" discrim="dir_out">
<UCPTname>Net/LON/iLON App/Analog Fn Block[0]/nvoAfbDropOut[0]</UCPTname>
</DataPoint>
<DataPoint xsi:type="UFPTanalogFunctionBlock_DpRef" dpType="Input" discrim="dir_in">
<UCPTname>Net/LON/iLON App/Digital Output 1/nviClaValue_1</UCPTname>
<UCPTfieldName>value</UCPTfieldName>
<UCPTpollRate>900</UCPTpollRate>
</DataPoint>
<DataPoint xsi:type="UFPTanalogFunctionBlock_DpRef" dpType="Input" discrim="dir_in">
<UCPTname>Net/LON/iLON App/Digital Output 2/nviClaValue_2</UCPTname>
<UCPTfieldName>value</UCPTfieldName>
<UCPTpollRate>900</UCPTpollRate>
</DataPoint>
<DataPoint xsi:type="UFPTanalogFunctionBlock_DpRef" dpType="Output" discrim="dir_out">
Comments to this Manuals