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

New to PI VB - Want to make a valve that changes color on Display Options · View
Steve R
#1 Posted : Thursday, February 11, 2010 4:47:23 PM
Rank: Newbie
Groups: Member

Joined: 2/11/2010
Posts: 1
Hi

Can anybody tell me how to make a symbol for a valve on my pi display. After I make the symbol, I would like it to change from red to green based upon the value of a digital pi tag.

For example, when the pi tag changes from 0 to 1, I would like to change the valve symbol from green to red. Likewise, when the pi tag changes from 1 to 0, I would like to change the valve symbol from red to green.

I realize this is basic, but I have been trying to look through the help for hours.

Any help would be appreciated.

regards
Steve R
Sponsor  
 
RJK Solutions
#2 Posted : Thursday, February 11, 2010 5:04:04 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 409
Location: Cheshire, United Kingdom.
Hi Steve,

Welcome to the forum. Smile

You want to look at MultiStating symbols, but for now here is a quick guide to doing what you need.

1. Draw the valve symbol on your display.
2. Select the symbol in build mode, click the "Edit" menu item followed by "MultiState".
3. Select the PI server, then enter the PI tag for your digital state. (Click OK)
4. Repeat step 2.
5. Now for each of your digital states you can set the colour you want.

Now as the data for that digital PI tag is updated in PI, ProcessBook will react to the change in data and parse the MutilState settings for the symbol and change the state.

Hope this helps.

Rhys.


OSIsoft PI System Specialists
PI consultancy on PI Systems, PISDK, AFSDK, OLEDB etc and PI custom developments. Well pretty much anything to do with PI!


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.