Display Alarm summary

Hi,
In a viewon, i want to display the alarm summary tag in to text element.

If any active alarm in a summary it should reflect in a text element.

How to do this ??