Getting alarm text out of tags?

Using Ignition 8.1.0.

I have a folder of PLC tags that are strictly the alarming tags. I am able to get them with

results = system.tag.browse(path = '[default]machine/PLC/Alarms', filter={})
for result in results.getResults():
    alarmText = results['attributes'].???

For each tag the actual alarm text is here -

How can I grab this text from each script? I assume this is something in the attributes of the tag, but it only tells me it’s a java.util.HasMap, so I don’t know what documentation to look up to get a better handle on what’s accessible to me and how. How can I grab the alarm text in this scenario?

I needed system.tag.getConfiguration, not system.tag.browse

1 Like