|
|
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!
|
|
|
|
|
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: 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! 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
|
|
|
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
|
|
|
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. Cheers, Miles ProcessBook v3.0.15.3 MilesUK ProcessBook v3.0.15.3
|
|
|
|
Guest
|