beautypg.com

1 using the list function on a scheduler, 2 using the get function a scheduler, Using the list function on a scheduler -4 – Echelon i.LON SmartServer 2.0 User Manual

Page 135: Using the get function a scheduler -4, Using the list function on a scheduler, Using the get function a scheduler

background image

i.LON SmartServer 2.0 Programmer’s Reference

9-4

Note: Section 21.1.3, Creating a Scheduler and Calendar in Visual C# .NET, includes a C#
programming example demonstrating how to use the Scheduler SOAP interface to create and read a
data logger. Section 21.2.3, Creating a Scheduler and Calendar in Visual Basic.NET, includes a
Visual Basic example demonstrating how to do this.

9.3.1

Using the List Function on a Scheduler

You can use the List function to retrieve a list of the Schedulers that you have added to the
SmartServer. The List function takes an element that includes an xSelect statement
querying items of a UFPTscheduler_Cfg type as its input, as shown in the example below. The List
function returns an element for each Scheduler 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 elements returned by this function as input for the Get function. The
Get function would then return the configuration of each Scheduler included in the list.

Request



//Item[@xsi:type="

UFPTscheduler_Cfg"]



Response




Net/LON/iLON

App/Scheduler[0]

#8000010128000000[4].UFPTscheduler;xsi:type="LON_Fb_Cfg”;

0

9.3.2

Using the Get Function a Scheduler

You can use the Get function to retrieve the configuration of any Scheduler that you have added to the
SmartServer. You must reference the Scheduler whose configuration is to be returned by its
in the input you supply to the function, as shown in the example below.

Request



Net/LON/iLON

App/Scheduler[0]



Response



0

Net/LON/iLON

App/Scheduler[0]

8000010128000000[4].UFPTscheduler
0
2008-03-03T14:50:04.680-08:00
#8000010128000000[4].UFPTscheduler_Cfg.htm

Net/LON/iLON

App/Digital

Output

1/nviClaValue_1

0