KydeX

Changing my ACE code from real-time to history based event detection.

Discussion created by KydeX on Jan 16, 2013
Latest reply on Feb 1, 2013 by KydeX

Hi.

 

I am in a project where we have ACE modules looking at several inputs and turning time series of data into events that we then output back to PI in output tags. At the moment I am using natural triggering and running a calculation cycle every time there is a change in one of the input points.

 

Now, this is system was ok for testing, but it has a weakness that if some connection is down, while the data is being buffered, our code won't work properly. Same if we wanna run the code on a different server with burst replication.

 

So I would like my code to maybe run in certain clock intervals and then run some sort of loop that looks at all changes in the inputs during the time since that last calculation ran, and then detect all events chronologically. Does anybody have a good idea on how to do this?

 

regards,

 

Olav

Outcomes