The Compact Muon Solenoid (CMS) is a general-purpose detector operating at the LHC. The CMS Electromagnetic Calorimeter (ECAL), based on PbWO4 crystals, has shown excellent performance with a very stable data acquisition system even during higher LHC luminosity peaks.
ECAL DAQ system follows a modular and scalar schema. During the data taking, the Front End electronics is prone to occasional errors, induced by particles interactions. If these errors are not handled opportunely they can cause data loss in the section affected or even blocking the data taking of the experiment.
To prevent these situations, an automatic recovery mechanism has been developed in the ECAL DAQ software. The software dedicated to the configuration of the boards have been modified to check periodically their status. Depending on the level of the error they can trigger a reconfiguration of a single component or of the full board, or even mask the affected section and exclude it from the resuming run.
It is composed by routines that cyclically collect the status of the electronics and expose the information to web requests. On client side, graphical interfaces, based on Vue.js libraries, ask for the data (only if new information are available) and show the main information of the electronics status and errors.