nova-epics API
Trame
- nova.epics.trame.get_epics_instance() TrameEPICS
Retrieves an instance of the TrameEPICS singleton class.
- class nova.epics.trame.TrameEPICS
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().
- 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.
- serve_javascript() None
Serves the necessary JavaScript files. This is called by __init__.