diff --git a/doc/scripting/Alerts-on-Blocks.md b/doc/scripting/Alerts-on-Blocks.md index 338ac56..89337d3 100644 --- a/doc/scripting/Alerts-on-Blocks.md +++ b/doc/scripting/Alerts-on-Blocks.md @@ -2,7 +2,7 @@ Alerts can be configured on blocks using genie python, there is no GUI for this at the moment. An alert will trigger when a block is outside of the specified `lowlimit,highlimit` range for the specified `delay_out` time, it is like run control but rather than putting the DAE into WAITING a message (via SMS text and/or email) is sent. When the value comes back in range, it must be in range for `delay_in` seconds until an in-range alert is sent. -Note that this system is in addition to and independent of run control, it just uses some of the same underlying software. Alerts can be added to blocks that are not under run control, and both run control and alerts can bet set on the same block. The limits and delay times need not be the same for the run control and alert elements, so the instrument could be configured to go into a WAITING state when a block exceeded 100K but not send an alert until it exceeded 120K for a given length of time etc. (see below for how to set an alert on how long an instrument has been in a WAITING state) +Note that this system is in addition to and independent of run control, it just uses some of the same underlying software. Alerts can be added to blocks that are not under run control, and both run control and alerts can be set on the same block. The limits and delay times need not be the same for the run control and alert elements, so the instrument could be configured to go into a WAITING state when a block exceeded 100K but not send an alert until it exceeded 120K for a given length of time etc. (see below for how to set an alert on how long an instrument has been in a WAITING state) ```python ## set mobiles and emails to send alerts to @@ -57,4 +57,4 @@ if bad_thing_happened: ## Future enhancements * Create GUI for managing alerts, similar to how run control is done now * Allow saving alerts into a configuration/component - \ No newline at end of file +