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

PI Expression Calculation Average Options · View
zit1343
#1 Posted : Tuesday, August 16, 2011 10:15:45 PM
Rank: Newbie
Groups: Member

Joined: 7/1/2011
Posts: 7
Location: USA
Hi
I wan to use PI Expression under Sample DATA
I want to take Average of 3 tags

I need help how to write that expression
is it

Avg('tag1'+'tag2'+'tag3)

???
plz help
Thanks
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.
squatty
#2 Posted : Wednesday, August 17, 2011 10:17:50 AM
Rank: Advanced Member

Groups: Member

Joined: 4/7/2011
Posts: 137
Location: KZN, South Africa
With this expression you are actually adding the values, you should this construct.
Avg('tag1','tag2','tag3')

usedhplc
#3 Posted : Monday, May 07, 2012 6:30:15 AM
Rank: Newbie
Groups: Member

Joined: 5/7/2012
Posts: 1
The thread is very interesting and informational for me.I would like to join this discussion group..Thanks

car upholstery
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.