Hello!
I want to continously count the number of events for a certain time intervall (eg. every 5 minutes) and at the end of this time write the amount to a text file.
Can anyone tell me how to do this? Writing to text file is not a problem, but how do I count the events occuring in a certain time intervall?
I already tried a while loop with an integrated case structure linked with a shift register and an incrementation always when a event is happening. But how can I reset the value of the counter after time has passed?
is this the right approach or do I have to use something different?
if what i want to do is not possible, is there a possibility to calculate a mean value - (events/minute) an write this value every x minutes to a file?
Thanks a lot in advance !!!
tomsee