KB-31839: Alarm group’s OnAlarmReturn() event.

Question:

How can I tell whether an alarm group has returned, since this object doesn’t have an event such as OnAlarmReturn(), only OnAlarm()?

Solution:

The alarm group’s OnAlarm() event fires both the alarm’s input and output. In the same event, use the group’s GetInfo function.

Example: AlarmGroup.GetInfo(“Event”)

This function returns the following values: ALM when a tag is in alarm and RTN when it is out. This makes it possible for you to tell them apart.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *