I am working with alarms and I try to show on the display path the current setpoint of the alarm, which is binded to a variable. But I dont get the latest value.
If my alarm condition is (above setpoint) and setpoint = 200.
Tag = 100
The alarm goes ON when i change the setpoint to 75, but in my display path I see the value 200 instead of the 75.
You're trying to display the current setpoint value in the Display Path of an alarm by binding it to a tag (e.g., {[.]bromineSP}). However, when the alarm is triggered, the display still shows the previous setpoint (e.g., 200), not the updated value (e.g., 75).
**Why This Happens:
The Display Path expression is evaluated when the alarm is created, not at the moment it is triggered. So if you're referencing a tag directly (like {[.]bromineSP}), it may show an outdated value because it doesn't update dynamically with the alarm event.
Solution: Use Associated Data
To capture and display the actual value at the time of the alarm event, you need to use Associated Data.
Steps:
Go to the Associated Data section of your alarm configuration.
Thanks for the response, It makes completely sense. But for some reason this is not working. I dont know if its because I am making the alarm config through the UDT I am using
If the Display path expression is only evaluated when the alarm is created, you're going to have the same problem whether your evaluation is to the tag directly or to associated data which is mapped to tags.
That's why I typically don't use associated data in the display path. Instead, I add a column to the alarm status display for each. In your Alarm Status Table, look for the "columnsAssociated" property. Inside the "active" object, you can add additional columns and associate those with your data:
To associate the column, type the name of the associated data property of your alarm in the "field" property. In your case it would be "setpointTest" or whatever your final name would be. Arrange and size your columns as necessary.