beautypg.com

17 virtual driver, 1 virtual channels, 1 using the list function on virtual channels – Echelon i.LON SmartServer 2.0 User Manual

Page 284: 2 using the get function on virtual channels, Virtual driver -1, Virtual channels -1, Using the list function on virtual channels -1, Using the get function on virtual channels -1, Virtual channels

background image

i.LON SmartServer 2.0 Programmer’s Reference

17-1

17

Virtual Driver

The virtual channel is the SmartServer's internal channel. It is used as a gateway for system
information that is used by the data points on the SmartServer. The Virtual driver contains data points
representing the SmartServer's free RAM, free disk space, CPU usage, software version number, last
received service pin message, and other information. The following chapter describes how to manage
virtual channels, and devices and data points on the virtual channel.

17.1

Virtual Channels

The following section describes how to use the List, Get, Set, and Delete functions on Virtual channels.

17.1.1

Using the List Function on Virtual Channels

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

Request



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


Response



0
4.0

Net/VirtCh
VirtualChannel;xsi:type="Virtual_Channel_Cfg"
0



The List function returns a list of elements for each Virtual channel defined on the
SmartServer. You could use the list of elements returned by this function as input for the Get
function. The Get function would then return the configuration of each Virtual channel included in the
list. The next section describes the properties included in each of these elements.

17.1.2

Using the Get Function on Virtual Channels

You can use the Get function to retrieve the configuration of a Virtual channel defined on the
SmartServer. The input parameters you supply to this function will include one or more
elements with a Virtual_Channel_Cfg type. Each element will include the of
each channel whose configuration is to be returned by this function, as shown in the example below.

Request



xsi:type="Virtual_Channel_Cfg">

Net/Virtual

Channel



Response