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

VBA TimeEQ Function Options · View
Chevanton84
#1 Posted : Thursday, April 21, 2011 10:13:23 AM
Rank: Newbie
Groups: Member

Joined: 3/8/2011
Posts: 4
Hi everyone!!
I hope that this is the right section where write my question.

I want to find the number of seconds that a digital state is in a particular state.

How can I simulate the PE calculation TimeEQ ?

If I use this PE I obtain the right value:

timeEq('Current_State.PV','*-8h','*',"Fault")


I want to do this in ProcessBook, using VBA.
I'm trying to use the IPICalculation, but i'm not finding the right solution.

Could you help me?
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.
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.