stephensdh

ProcessBook Totalization

Discussion created by stephensdh on Jul 1, 2010
Latest reply on Jul 1, 2010 by stephensdh

This is my first exposure to PI software.  I have watched some of the applicable online tutorials.  I have one simple question.

 

 

 

My customer has a counter that rolls over every 30,000 counts.  I would like to display the number of counts in the last 12 hours.  Always displaying the last 12 hours from now.  This give me a moving total for the last 12 hours.

 

 

 

Forumla:

 


Counts Now    -    Counts 12 hours ago

 

If negitive add 30,000 to account for the rollover.

 

 

 

It appears ProcessBook PI Calcs is unable to grab a historical value from 12 hours ago.  I see you can also use VBA macros, but I beleive it requires the historical data to be pulled from a trend, which I am not trending this value.

 

Can anyone point me in the right direction to perform this simple calculation.  I would perfer it to be on the ProcessBook side, instead of server.

 

 

 

Thanks Ahead of Time,

 

Steve

Outcomes