OSIsoft: Create/edit a Notification. v1.1


Uploaded by OSIsoftLearning on 10.05.2011

Transcript:

We are just about to embark on a series of videos
in which we are going to go into tremendous detail
on just about each one of the different tabs
for Notifications. But, before
we do that, let's just build a quick and dirty Notification.
Alright, I want to get one, you know, under our belt so
that we can know where we are going with this, and just
see one in action before we go any further. So what I am
going to do is, first of all, identify what
PI Tag I am going to be monitoring.
So, I am going to have a Notification when
this tag, right here -- this is a tag called --
as you can see right here, it's
listed myCDT158. It
is an Attribute called
TAG:CDT158.Value. Boy, that's a
long name. We did not make it very easy there, but
anyway, that's the Attribute Name in an
Element called Monitored Tags.
If I refresh this, I can see that the Current Value is 100.
What I want to specify here is if this Value
goes over 250, we want to see a Notification.
So, the first thing to do is to have
an Element that's got an Attribute you'd like to
have a Notification built off of. Now, this
Attribute happens to point to this PI Tag right here.
We will handle that later on -- how to do that update to that Tag.
So, here's a new Notification. I am just going to
go into this section here. This is the Navigator Panel,
and this, this little viewer here --
I am going to choose Notification, New Notification,
or I could have just done right click, New Notification,
and in the Overview I am going to give this a name.
Here's the Notification Name. I am just going to call it
myNot1. It's going to be my first Notification.
Now, the first thing I need to do is
figure out what we are actually going to be monitoring.
Now, I looked at it before but I did not attach it to this Notification.
So that's what we do over here in the Trigger Section.
In the Trigger, we use this -- this is the
structure, the tree structure widget that's going to
allow me to, to go through all of my current
database and find the element that I would like to monitor.
And, in this case, I want to monitor this right here.
Now, when I bring that
element in, I have not had to specify
the Attribute yet. That's going to come later on when we specify --
when we come up with the trigger itself, the actual
conditions. So, what's my condition going to be?
Well, this is a st... a simple comparison.
I am going to say when my Input Attribute,
which I can browse to this way... As you can
see, it's picked up Monitored Tags. It's found this.
When that is greater than --
and we will put in a Value
of, say, 250. I am going to ignore
the rest of this for right now.
That's my simple Notification.
Now, I, I do not even want to put in any Subscriptions at this
point, or go into the detail of
content, etc. I just want to save this Notification,
and then
let's start up the Notification,
and, once we start it up, let's see if we can get it to trigger.
So, I will go ahead and check this in.
Now that I have checked it
in, I can start it up. So, I will go ahead and choose
Start, and, initially, when we
start this up, we should not really be
seeing anything at this point. If I go into History and look at
Active -- ... I am not seeing anything at this point.
And the reason I am not is because the -- it is not
fired at this point yet. Now, I am going to
do a trick that you can do with the PI System Management Tools.
I am going to use PI System Management Tools, specifically
the Archive Editor in PI
System Management Tools. You will find that under Start,
Programs, this is under the PI System.
We are looking at the PI
System Management Tools here. Anyway,
within here, within the Archive Editor, I have actually gone
out and specified that I want to retrieve the Current Values
for this tag, and I am going to change this from
100 -- let's push this to 275.
And I will go ahead and save this.
So what we should see
is, going back over here, we should see that
this Notification is going to trigger.
And, as you can see, right on cue,
it, it triggered. Now, a bunch of other things happened
that we did not go into details yet. This is an auto-acknowledge
alarm, and that's because, if you take a look at
how we have, you know, configured this, it, it was not requiring
acknowledgments. That's why it's, it's got this
Instant Acknowledgment. Now, if I were to
change this Value back to 100,
as you might guess, that's going to go ahead and change
the Notification so that it's no longer
in alarm. And we should see that show up as well.
So that's a real simple
hello-world type Notification. Now,
in the next few videos, we are going to go into more detail about all the
different types of Triggers, Content Options,
Subscriptions, History, Options, etc.