nova-epics API

Classes

nova.epics.interface.get_epics_instance() EPICSInterface

Retrieves an instance of the singleton class.

class nova.epics.interface.EPICSInterface

Singleton class for connecting to an EPICS Tomcat server.

You should not instantiate this class directly since it is intended to be used as a singleton. Instead, please call get_epics_instance().

abstractmethod connect(xml: str, macros: str, detector_count: int) None

Connects to the EPICS Tomcat server and pulls initial PV values.

Parameters:
  • xml (str) – The contents of the XML config file for the instrument to pull PVs for.

  • macros (str) – The macros string for the instrument.

  • detector_count (int) – The number of detectors used by this instrument.

abstractmethod serve_javascript() None

Serves the necessary JavaScript files. This is called by __init__.