cli
Module¶
Source code documentation for EPICS cli
Watch an EPICS PV. Send email when it changes from 0 to 1
-
class
PvMail.cli.
PvMail
(config=None)[source]¶ Bases:
threading.Thread
Watch an EPICS PV (using PyEpics interface) and send an email when the PV changes from 0 to 1.
-
PvMail.cli.
SendMessage
(pvm, agent_db, reporter=None)[source]¶ construct and send the message
Parameters: pvm (obj) – instance of PvMail object on which to report
-
PvMail.cli.
cli
(results, config=None)[source]¶ command-line interface to the PvMail class
Parameters: - results (obj) – default parameters from argparse, see main()
- config (obj) – email configuration from ini_config.Config()
-
PvMail.cli.
gui
(results, config=None)[source]¶ graphical user interface to the PvMail class
Parameters: - results (obj) – default parameters from argparse, see main()
- config (obj) – email configuration from ini_config.Config()