beautypg.com

4 virtual data points, 1 using the list function on virtual data points, Virtual data points -8 – Echelon i.LON SmartServer 2.0 User Manual

Page 291: Using the list function on virtual data points -8, Virtual data points

background image

i.LON SmartServer 2.0 Programmer’s Reference

17-8


17.4

Virtual Data Points

The following section describes how to use the List, Get, Set, and Delete functions on Virtual data
points. For information on reading and writing values to Virtual data points, see Chapter 4, Using the
SmartServer Data Server
.

17.4.1

Using the List Function on Virtual Data Points

You can use the List function to retrieve a list of Virtual data points on the SmartServer. The List
function takes an element that has an xSelect statement with a Virtual_Dp_Cfg type as its
input, as shown in the example below.

Request (return all the Virtual data points on the SmartServer)



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


Alternatively, you can filter the Virtual data points returned by the List function to those on a specific
device by including the of the parent device in the xSelect statement, or you can filter
the Virtual data points returned using the and data point properties.

Request (use an xSelect statement to return all the Virtual data points on a specific device)


//Item[@xsi:type="Virtual_Dp_Cfg"][starts-with(UCPTname,"Net/Virtual Channel/Virtual
Device")]


Request (use an xSelect statement to return all the Virtual data points that were updated after a
specific time)


//Item[@xsi:type="Virtual_Dp_Cfg"][UCPTlastUpdate>"2008-03-31T00:00:00"]


Request (return all the Virtual data points related to the connection manager based on name)



//Item[@xsi:type="Virtual_Dp_Cfg"][contains(UCPTname,"CM")]

Response



0
4.0

Net/VirtCh/iLON

System/VirtFb/CMdialInNum

Dp_Out;xsi:type="Virtual_Dp_Cfg"
0


Net/VirtCh/iLON

System/VirtFb/CMgprsIp

Dp_Out;xsi:type="Virtual_Dp_Cfg"
0