What is the best way to disable Alarm for configurable period of time?
This should be done in runtime, with minimum user access check.
Alarm to be re-enabled automatically after time lapsed.
Alarm disable for period of Time
Search
Re: Alarm disable for period of Time
Hi,
Are you talking about shelving or totally disabling it?
if disabling, you can use _alert_hdl.._active to disable it.
Be careful about some points:
- If you activate again, new instance will be generated not related to previous one.
- Use dpSetTimed with NULL time: To avoid an increasing size of the configuration history the time of the configs _alert_hdl and _alert_class can be set with dpSetTimed(0,...).
If shelved, you will need to develop it yourself. Perhaps using add_values and filters.
BR
Alex
Are you talking about shelving or totally disabling it?
if disabling, you can use _alert_hdl.._active to disable it.
Be careful about some points:
- If you activate again, new instance will be generated not related to previous one.
- Use dpSetTimed with NULL time: To avoid an increasing size of the configuration history the time of the configs _alert_hdl and _alert_class can be set with dpSetTimed(0,...).
If shelved, you will need to develop it yourself. Perhaps using add_values and filters.
BR
Alex
-
Gertjan van Schijndel
- Posts: 634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Alarm disable for period of Time
In the topic 'Alert with time hysteresis' there are some suggestions to temporary disable alarms.