|
|
Rank: Newbie Groups: Member
Joined: 3/16/2010 Posts: 5 Location: canada
|
I want to display alerts in a single pdi file whenever the interface goes down.(i.e when io rate or heartbeat of a tag is not updating for more than 5 mins then the text of that particular tag should turn red other interfaces which is running should be green). I think i could not able to use Interface Status Utility since my PI server is a microsoft cluster. I am using VBA code to achive this & i could not do it for many interfaces since tags are time dependent. Please help me in doing this.
|
|
|
|
|
OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System. We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ or contact OSIsoft vCampus for more details.
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 612 Location: Cheshire, United Kingdom.
|
Hi Sarvu, Welcome to the forum. Have you considered creating some performance equations to do the same job your VBA is doing so that monitoring is not dependent on the pdi you have created being open? Are you saying that for a tag you are checking the snapshot value and seeing if the time of the snapshot is greater than 5 minutes old? Then you need to repeat this for several other tags at different time frequencies? Cheers. Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Newbie Groups: Member
Joined: 3/16/2010 Posts: 5 Location: canada
|
I wanted an alert if heartbeat tag does not update for 5 minutes.
I have not considered PE.
Please provide me PE for the same if you have it.
PE should have the result as digital tag
1. if the heartbeat tag of an interface is not updating for last 5 minutes then the result of PE is down
2. if the heartbeat tag of an interface is updating then the result of PE is UP.
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 612 Location: Cheshire, United Kingdom.
|
You can use the following in a PE tag: if prevevent('interfacetag','*') < ParseTime("*-5m") then DigState("Down") Else DigState("Up") Or if you want to just use ProcessBook PI Calcs you could do something along the lines of: if prevevent('interfacetag','*') < ParseTime("*-5m") then "Down" Else "Up" Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Newbie Groups: Member
Joined: 3/16/2010 Posts: 5 Location: canada
|
Thanks for the help.I could get the thing i required
|
|
|
|
Guest
|