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

showing max value (out of 7) only ? Options · View
Joep
#1 Posted : Thursday, December 08, 2011 5:02:41 PM
Rank: Newbie
Groups: Member

Joined: 2/27/2011
Posts: 4
Hi all,

i'm encountering a new challenge in building my HMI screen. On this screen i have two rows of (scada imported)temperatures, something like this:

South North
927 906
923 912
902 907
931 928
934 923
933 884
925 935

On the HMI screen i build 2 times 7 bars showing all these temperatures, BUT in fact i'm only interested in the highest values (from south 934 and north 935).

In excel i know the way to show this value, but in Processbook i really can't find if it's a build in or to-do-with VBA.

Anyone has an idea?

Regards,

Joep
Netherlands
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 : Thursday, December 08, 2011 8:20:54 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 617
Location: Cheshire, United Kingdom.
Hi Joep.

You can still check for maximum value from a bunch of PI tags, values or a mix of both.
For example, let's say you always want the maximum value of 7 tags you would create a ProcessBook DataSet with the following expression:

Max('south:temp1','south:temp2','south:temp3:'...'south:temp7')

Only thing you will struggle to do is identify the name of the PI tag that is returning the maximum value via the dataset route.

Hope this helps for now...
Principal Consultant
Real-Time Data Management @ Wipro Technologies
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.