beautypg.com

3 data server soap interface, 1 using the list function on the data server, Data server soap interface -4 – Echelon i.LON SmartServer 2.0 User Manual

Page 45: Using the list function on the data server -4, Data server soap interface

background image

i.LON SmartServer 2.0 Programmer’s Reference

4-4


0
OFF

LonFormat="#0000000000000000[0].SNVT_switch">0.0

0



1
ON

LonFormat="#0000000000000000[0].SNVT_switch">100.0

1



4.3

Data Server SOAP Interface

You can use the SOAP interface to perform the following functions on a data point on the Data Server.

Function Description

List

List the name of each data point that you have added to the Data
Server.

Get

Retrieve the configuration of a data point.

Set

Create a data point and add it to the Data Server, or modify the
configuration of an existing data point.

Read

Read the current values, statuses, and priorities of one or more
data points.

Write

Write to the current values, statuses, and priorities of one or more
data points.

Invoke

Used with Dp_ResetPrio_Invoke xsi type to reset the priority
level assigned to a data point.

Delete

Remove a data point from the Data Server.

Note: Section 21.1.1, Reading and Writing Data Point Values in Visual C# .NET, includes a C#.NET
programming example demonstrating how to use the Data Server SOAP interface to read and write
data point values. Section 21.2.1, Reading and Writing Data Point Values in Visual Basic.NET,
includes a Visual Basic .NET example demonstrating how to do this.

Section 22.3.1, Reading and Writing Data Point Values in Java, includes a Java example
demonstrating how to read and write data point values.

4.3.1

Using the List Function on the Data Server

You can use the List function to retrieve a list of data points that have been added to the Data Server.
The List function takes an element that has an xSelect statement querying items of a
Dp_Cfg type as its input, as shown in the example below. The List function returns an element
for each data point that you have added to Data Server.

Request (all data points on the Data Server)



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