Echelon i.LON SmartServer 2.0 User Manual

Page 131

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

8-13

</Item>

</iLonItem>
</Set>

8.3.4

Using the Delete Function on an Analog Function Block

You can use the Delete function to delete an Analog Functional Block. To delete an Analog
Functional Block, you provide an <Item> element with a UFPTanalogFunctionBlock_Cfg type that
includes the <UCPTname> property of the analog functional block to be deleted. The following code
sample demonstrates how to use the Delete function to delete an Analog Functional Block:

Request

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

xsi:type="UFPTanalogFunctionBlock_Cfg">

<UCPTname> Net/LON/iLON App/Analog Functional Block[2]</UCPTname>

</Item>
</iLonItem>
</Delete>

Response

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

<UCPTfaultCount>0</UCPTfaultCount>

<Item>

<UCPTname>Net/LON/iLON App/Analog Functional Block[2]</UCPTname>

</Item>
</iLonItem>
</DeleteResponse>

Advertising