how to occur the heart-bit Alarm

Discussion about recent product features & solutions!
4 posts • Page 1 of 1
gyu
Posts:11
Joined: Wed Mar 19, 2014 2:08 am

how to occur the heart-bit Alarm

Post by gyu »

Dear, All

how to occur the heart-bit Alarm via DP-function.

the value of heart-bit (int16 ) is coming and it is increasing by 1 per every second.

I want to get a alarm from it when the value or original time of heart-bit is not changed.


I tried it with ::_online_bad , but could not work.

plz tell me how to occur the heart-bit Alarm

RudiKreiner
Posts:198
Joined: Mon May 16, 2011 2:10 pm

Re: how to occur the heart-bit Alarm

Post by RudiKreiner »

We have implemented such a function as follows:
- create another integer datapoint, let me call it CHANGE, and give it a staticstical dp_function config that calculates the difference in value (using the Difference() function) of your heartbeat counter and set the time rate (t) at which to run the function to meet your needs.
- if the value of CHANGE is 0, it means that your live counter did not change ist value over the last T seconds.
- then add an alert config to the datapoint CHANGE that generates the desired alarm whenever the value is 0.

I hope that will meet your needs

gyu
Posts:11
Joined: Wed Mar 19, 2014 2:08 am

Re: how to occur the heart-bit Alarm

Post by gyu »

thanks for your kindly reply.

one more question.

is it possible to make a DP function with CHANGE() when the value have not been changed for 10 second.

Thanks.

RudiKreiner
Posts:198
Joined: Mon May 16, 2011 2:10 pm

Re: how to occur the heart-bit Alarm

Post by RudiKreiner »

For the statistical dp_function calculation to run every 10 seconds, you can set it in the para, in the dp_function config in the tab "synchronization" in the field "Calc. time interval". Other configuration possibilities can be seen there as well.

If the heartbeat datapoint did not change its value for this time the the result of the Difference() function and therefore the value in the CHANGE datapoint will be 0, if it does change, then the value will be the amount by which it changes.

4 posts • Page 1 of 1