Vacuum Pressure Warning Script
Script Location: controls@chimay
Script Path: /vac/python/serial/temp_vacuum_warning.py
Purpose
Implement an automated warning system that monitors vacuum pressure and sends
email alerts when pressure thresholds are exceeded.
Implementation Details
-
The script runs
launcher.py (located in the same directory)
every 30 minutes to retrieve the latest vacuum pressure reading.
-
If the pressure rises above the critical threshold
(≥ 1 × 10-6 Torr), an email alert will be sent
to all group members.
-
If the pressure rises above the warning threshold
(≥ 1 × 10-7 Torr), an email alert will be sent
to Xuesi Ma.
-
If
launcher.py fails to retrieve the vacuum pressure,
or if any execution error occurs, an error notification email
will be sent to Xuesi Ma.
How to Run
python temp_vacuum_warning.py
Note
An app password is required for authentication in order to send alert emails.
|