A set of python2 scripts that read/writes EPICS Process Variables (PVs) using a postgres-based message queue to make requests.
- pg-epics is used only to control the monochromator.
- All legacy software on LS-CAT's cluster uses pg_advisory_lock() to manage access to beamline controls. This includes:
- Reading/writing EPICS PVs controlling the Kohzu monochromator on station D.
- Issuing commands to Dectris and legacy Rayonix (MarCCD) detectors.
- Controlling the legacy MD2 microdiffractometer.
- Issuing commands which move the legacy CATS-based sample-changing robots.
- Future software development shall disregard all postgres-based locks.