Technical FAQs

Ask a Question

How can I display the Name and Category of current Alarm?

Here is a cicode to display the Name and Category of current Alarm:

FUNCTION
AlarmData(INT AN)
    STRING Category;
    STRING Tag;
    Category=AlarmGetDsp(AN,"Category");
    Tag=AlarmGetDsp(AN,"Tag"); ! Display the tag and category for the alarm at the specified AN.
    Prompt("Alarm "+Tag+" is Category "+Category);
END
Was this helpful?
What can we do to improve the information ?