Just wanted a consult, I’m trying to set up an alarm notification for the tags, like for example when the value of a tag becomes zero it will send an email notification.
I already set up the test alarm on the Alert Notification Profiles, what’s the next step?
When I right clicked on the tags I’ve set up there was a ‘Alerting’ option, is that it?
Previously I was trying to create an alarm using the alert notification profile. Now I’m trying to create an alarm notification but this time by coding it. What I need to do is when a tag is not changing it’s value for 30 seconds it will send a notification. How can I do that by code? What can I use?
here is one way, this is for minutes though. if you look at the datediff expression in the manual, you can see how to change it to seconds. basically you just create an expression tag and reference the .lastchange property of the tag you need to monitor. from there you can just setup a digital alarm on this new tag.
Ok so I did an expression tag and played with the value to see if the code is working… it’s working. Thank You. But it’s still not sending me the notification email I already created an alert notification profile and added recipients, but it’s still not sending the notif email
[quote=“diat150”]
did you setup a digital alert when value = 1 on the expression tag that you created? if so did you create an alert expression group like this one
{[ITEM_PATH]} like '%newtag%'
and then assigned that group to the recipients that you created?[/quote]
Yes I created a digital alert on the expression tag when the value is 1.
Create an alert expression group? Where can i do that?
If you are using the basic email notification profile then you don't need to worry about the expression group. As long as the notification profile is not filtering out the alert due to the priority then the notification should be sent out when the tag goes into an alert state. Have you toggled the tag in and out of the alert state?