Skip to content

Commit a192a0e

Browse files
authored
GUI Changes for configuring Alerts
Wiki changes for GUI for configuring Alerts
1 parent dad3c36 commit a192a0e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/scripting/Alerts-on-Blocks.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ Alerts, like run control, are normally set on floating point (or integer) value
4141
g.alerts.set_range("RunState", -1.0, 3.5, delay_in=5.0, delay_out=300.0)
4242
```
4343
will send an alert if the instrument has been WAITING or VETOING (>3.5) for more than 300 seconds.
44-
44+
45+
## GUI for managing alerts
46+
There is a convenient way to configure alerts details using the IBEX client.
47+
The GUI is available from the top-level menu item "Block Actions", which was previously called Run-control.
48+
<img width="1213" height="691" alt="image" src="https://github.com/user-attachments/assets/58258fe2-1efd-4956-a0d6-ffeb8aebcb05" />
49+
4550
## Sending alert messages directly from scripts
4651
You can also send an immediate alert message from an executing script by doing the following
4752
```python
@@ -53,8 +58,10 @@ g.alerts.set_email(["a@b", "c@d"])
5358
if bad_thing_happened:
5459
g.alerts.send("Help, a bad thing has happened!")
5560
```
61+
## Sending alert messages from the GUI
62+
Use the Send Message button (highlighted in blue below) in the Alert Settings GUI to send a custom message to the configured emails and/or mobiles.
63+
<img width="1213" height="691" alt="image" src="https://github.com/user-attachments/assets/dbe2304d-ad36-4551-959a-803127ac5745" />
5664

5765
## Future enhancements
58-
* Create GUI for managing alerts, similar to how run control is done now
5966
* Allow saving alerts into a configuration/component
6067

0 commit comments

Comments
 (0)