4 using the delete function on virtual data points, Using the delete function on virtual data points – Echelon i.LON SmartServer 2.0 User Manual
Page 295

i.LON SmartServer 2.0 Programmer’s Reference
17-12
<UCPTannotation>Dp_Out</UCPTannotation>
<UCPTformatDescription>#0000000000000000[0].SNVT_switch</UCPTformatDescription>
<UCPTdirection
LonFormat="UCPTdirection">DIR_OUT</UCPTdirection>
<UCPTpollRate>1.0</UCPTpollRate>
</Item>
</iLonItem>
<Set>
Response
<SetResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<UCPTfaultCount>0</UCPTfaultCount>
<Item>
<UCPTname>Net/VirtCh/iLON
System/VirtFb/virt_switch</UCPTname>
</Item>
</iLonItem>
</SetResponse>
17.4.4
Using the Delete Function on Virtual Data Points
You can use the Delete function to delete a Virtual data point on the SmartServer. The Delete function
takes an <Item> element with a Virtual_Dp_Cfg type as its input. The <Item> element only needs to
include the Virtual data point’s <UCPTname> property in the Delete Request as demonstrated in the
following code sample:
Request
<Delete xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item
xsi:type="Virtual_Dp_Cfg">
<UCPTname>Net/VirtCh/iLON
System/VirtFb/virt_switch</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/VirtCh/iLON
System/VirtFb/virt_switch</UCPTname>
</Item>
</iLonItem>
</Delete>