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

PI ProcessBook Trend - Display a shaded in color when trend goes above a limit. Options · View
James Durman
#1 Posted : Tuesday, February 08, 2011 4:28:07 AM
Rank: Newbie
Groups: Member

Joined: 2/1/2011
Posts: 1
Location: Queensland, Australia
Hi all,

Just having some difficulties (first time using PI here) with using and modifying trends.

I'm wanting to be able to display a shaded in 'patch' when a trend breaks a certain limit that I have set on the trend graph.

Please see attached image - The first trend line indicates what type of result I'm wanting.

Can any of you point me in the right direction please?

Regards
James

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.
milesUK
#2 Posted : Wednesday, February 09, 2011 1:09:35 PM
Rank: Advanced Member
Groups: Member

Joined: 5/28/2009
Posts: 75
Location: Cheshire, UK
James, not sure how to achieve the shading but here's something that may form a basis for further ideas. This will plot a line that will be horizontal (at 50.6Hz) except where the tag excedds 50.6Hz.

Create a dataset using the following Expression:
Code:
(('tag'<=50.6)*50.6)+(('tag'>50.6)*'tag')

Set the Interval to something suitable - for Frequency over 1 hour you could possibly use 1s (one second).

Choose Value from "Columns:",

place this dataset in your Trend and move it to the top of the list.
MilesUK
ProcessBook v3.0.15.3
RJK Solutions
#3 Posted : Friday, February 11, 2011 1:37:18 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
You can't achieve shaded areas in the PI Trend control unfortunately. I lodged an ticket some time ago with OSI for coloured area bands on a trend but I guess it won't get implemented for some time...if ever.

I actually do more or less the same that Miles pointed out above, it emphasises the trace that exceeded your limits on a Trend.
Principal Consultant
Real-Time Data Management @ Wipro Technologies
mogwai
#4 Posted : Friday, June 10, 2011 6:51:30 AM
Rank: Member
Groups: Member

Joined: 4/8/2011
Posts: 16
Location: Denmark
I am pussling with the same.

Did anyone find a good solution for this?
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.