Point.Id (property, read/write)

Syntax

Point.Id

Description

String. To get or set the object's CIMPLICITY Point ID. The function generates an error if the point is not configured or the remote server is not available.

Comments

If an error is generated, one of the following error codes may be reported.

 

Err

Description

 

CP_POINT_NOTFOUND

The Point ID specified is invalid and was not found.

Example

sub main()

   Dim MyPoint as new Point

   MyPoint.Id ="\\PROJECT1\POINT1"   ' Set the id

end sub

 

sub processPoint(MyPoint as Point)

   if MyPoint.Id ="GEF_DEMO_COS" then  ' Compare the Id

      ...

   end if

end sub

More information

CIMPLICITY Extensions to Basic