Access Alarm Associated Data Property From Client?


I’m wanting to give users the ability to view/modify the string stored in Associated Data attached to a tag’s alarm. It’s an effort to provide an interface for end users to dictate their own Alarm Description during a Voice Notification.

One method would be to bind to the tag’s description, but that would require unique bindings at each alarm instance (referencing the [.]tagname.description) as well as preventing a second alarm instance, and I’d prefer to keep the property generic.

Thanks for the help,

you should be able to use the editTag function

system.tag.editTag(tagPath="Path/to/your/tag", alarmConfig = {"Alarm name": [["AssociatedDataName", "Value", "Some string"]]})
1 Like