Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Extension - method of object PmAlarmEventItem

Description:
The method enables access to data extension (ExtAlarmAnalog, ExtAlarmBinary or ExtEvent) that the alarm originated from.
Syntax:
Extension As Object
Calling:
oAlarmEventItem.Extension()
Return Values:
Returns reference to Data extension object type. If an error occures then Nothing value is returned (the alarm did not originate in the data extension). Nothing value can be tested by VBScript Is operator.
Example:
Set oItem = pMe.Pm("/alarm").Item("item1")
Set oExt = oItem.Extension()
If Not oExt Is Nothing And oExt.ClassName = "ExtAlarmAnalog" Then
  oExt.Min1
PROMOTIC 8.3.19 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice