YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Display of Interface Heartbeat tags status in a single page Options · View
sarvu
#1 Posted : Tuesday, March 16, 2010 3:36:07 PM
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.
Sponsor  
 

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.
RJK Solutions
#2 Posted : Monday, March 29, 2010 11:56:58 AM
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
sarvu
#3 Posted : Wednesday, March 31, 2010 7:50:21 PM
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.
RJK Solutions
#4 Posted : Wednesday, March 31, 2010 8:40:44 PM
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
sarvu
#5 Posted : Friday, April 09, 2010 1:20:27 AM
Rank: Newbie
Groups: Member

Joined: 3/16/2010
Posts: 5
Location: canada
Thanks for the help.I could get the thing i required
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.