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

Problems with multistate - Maybe the wrong method? Options · View
cptpeanuts
#1 Posted : Thursday, March 03, 2011 6:39:00 AM
Rank: Newbie
Groups: Member

Joined: 3/3/2011
Posts: 1
Location: Houston
To start things off, I've used PI-ProcessBook before, but not extensively. I'm also a VB newcomer. I am trying to develop a monitoring page for voltages at various sites. These sites have specific voltage bands, and I would like for a small alert if these fall outside of their bands for a sustained 10 minute average. I've done a bit of searching regarding the 10 minute average and found something helpful, but I'm having problems from step 1. Here's what I've done so far...

1. I created a bar chart utilizing a tag that dynamically updates for a voltage value
2. I set that bar charts values to start approximately 3Kv lower than the low voltage, the high value at the high setpoint, and the start value right at the low setpoint.
3. I attempted to create a Multi-State symbol to reflect a low voltage, normal band, and a high voltage

So, I get to #3, and that's where I'm stuck... I'm utilizing the same tag that the bar chart references to obtain the values. These values can range anywhere from 340kV-365kV during normal operations. So, I set my limits with 0-90 being green, and 90-100 being red and flashing, and then nothing happens. There's magically no state data even though I'm seeing good data from the tag.

So, ultimately, here is what I'm trying to do. Take a voltage range of 349.5kV-358kV as a normal range. 358kV-359kV for a sustained 10 minute average so produce a red flashing 'alarm'. Anything below 349.5kV would also give the same effect.

Any help would be greatly appreciated!
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 : Thursday, March 03, 2011 11:27:49 AM
Rank: Advanced Member
Groups: Member

Joined: 5/28/2009
Posts: 75
Location: Cheshire, UK
cptpeanuts,

I have just tried this with a near real time tag and it works OK. The multi-state has 2 states like yours and I get the green and flashing red as expected.

Does your multi-state work with a standard tag rather than the 10m average?

In fact how are you getting the 10m average for the system voltage? Is it a Performance Equation Tag, Totaliser Tag or a DataSet?

Ah, Just had a thought! Are you trying to make the Bar Chart a MS? Tried that and also could not get it to work. I just get a green bar! Huh

What I have managed is to make rectangular MS slightly larger that the chart and placed it behind. This gives the effect of a green or flashing red border to the chart.
MilesUK
ProcessBook v3.0.15.3
RJK Solutions
#3 Posted : Monday, March 14, 2011 10:05:27 AM
Rank: Administration

Groups: Administration

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

Strange as I have got this to work fine.
Are you using a Dataset average? If I create a 10 minute average Dataset, create a Bar symbol, set the "Start/Lower/Upper" values, then set the states. If I cycle forward/backwards in time the Bar updates as you would expect.

Principal Consultant
Real-Time Data Management @ Wipro Technologies
milesUK
#4 Posted : Wednesday, April 13, 2011 9:24:17 AM
Rank: Advanced Member
Groups: Member

Joined: 5/28/2009
Posts: 75
Location: Cheshire, UK
Hi Rhys, I tried a tag not a dataset. I couldn't get this to work at the time but I have got it to work now.Confused

Cheers,

Miles

ProcessBook v3.0.15.3
MilesUK
ProcessBook v3.0.15.3
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.