beautypg.com

Datapointwrite, Datapointread, Datapointresetpriority – Echelon i.LON 100 e2 Internet Server User Manual

Page 28: Datapointwrite -11, Datapointread -11, Datapointresetpriority -11, 1 datapointwrite, 2 datapointread, 3 datapointresetpriority

background image

i.

LON 100 Internet Server Programmer’s Reference

3-11

3.6 Using the DataPoint Functions With Visual Basic .NET

You can call the DataPoint functions from development environments such as Microsoft
Visual Basic .NET by referencing the

i.

LON 100 WSDL file. Chapter 14, Using the SOAP

Interface as a Web Service, describes how to reference the

i.

LON 100 WSDL file in Microsoft

Visual Basic .NET.
This chapter describes the syntax you will use when you call each of these functions, and

provides a code sample written in Visual Basic .NET that invokes each of them.

3.6.1 DataPointWrite

Syntax: return=ilonWebReference.DataPointWrite(UCPTpointName As

String, UCPTfieldName As String, UCPTvalue As String, UCPTpropagate

As Integer, UCPTpriority As Integer)

Element

Description

return DataPointWriteReturnType

variable

ilonWebReference

Instance of the

i.

LON 100 WSDL file Web service.

Input Parameters

For descriptions of the individual input parameters

that you must supply to the function, see
DataPointWrite on page 3-3.

Returns: The function returns an object containing two properties: the name of the data
point written to (UCPTpointName), and the name of the field written to (UCPTfieldName).

3.6.2 DataPointRead

Syntax: return=ilonWebReference.DataPointRead(UCPTpointName As String,

UCPTfieldName As String)

Element

Description

return DataPointReadReturnType

variable

ilonWebReference

Instance of the

i.

LON 100 WSDL file Web service.

Input Parameters

For descriptions of the input parameters that you

must supply to the function, see DataPointRead on

page 3-7.

Returns: The function returns an object containing each of the properties described in Table

5 on page 3-7. Each property can be retrieved from this object individually by referencing the
property name listed in Table 5, as shown in the programming sample later in this section.

3.6.3 DataPointResetPriority

Syntax: return=ilonWebReference.DataPointResetPriority(UCPTpointName

As String, UCPTpriority As Integer)

Element

Description

return String

variable

ilonWebReference

Instance of the

i.

LON 100 WSDL file Web service.