CimEMPointEvent.State (property, read)

Syntax

PointEvent.State

Description

Integer. Returns the state of the point. Can be used to determine if the point is available. See Point.State for a complete description of states.

Example

Sub Main()

   Dim PointEvent as CimEmPointEvent

   Set PointEvent = CimGetEMEvent().PointEvent()

   If PointEvent.State = CP_UNAVAILABLE THEN

            LogStatus CIM_FAILURE,"Main()", _

               "Point " & Point.Id & "is unavailable"

     end

    End if

end sub

More information

CIMPLICITY Extensions to Basic