Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C cmsgemos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 95
    • Issues 95
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cmsgemonline
  • gem-daq
  • cmsgemos
  • Merge requests
  • !297

Expose monitorables for the front-end power monitoring tools

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Laurent Petre requested to merge feature/power-monitor into main Nov 08, 2022
  • Overview 1
  • Commits 6
  • Pipelines 3
  • Changes 15

Description

This MR aims to export additional monitorables in order to be able to measure the power consumption of a given OptoHybrid in known conditions.

The low-voltage and high-voltage values and status are retrieved from the DCS DIM interface and exported in the DAQ monitoring JSON files. They are also displayed in the web interface. The front-end status (OptoHybrid FPGA programming state & VFAT running mode) is read out from the DAQ and exported in the DAQ monitoring JSON file as well. This information is not made available through the web interface.

All required values from #248 (closed) are now monitored:

  • GBT -> GBT.LINK:OHxx.GBTy.READY
    • Ready
    • Not ready
    • Note that it is different from the GBT locking on the signal transmitted from the back-end, status which cannot be retrieved.
  • OptoHybrid FPGA -> FE.STATUS:PROGRAMMED_FPGA + FE.STATUS:PROGRAMMED_FPGA_VALID
    • Programmed
    • Not programmed
    • Unknown
  • VFAT run mode -> FE.STATUS:OHxx.VFAT_RUN_MODE + FE.STATUS:OHxx.VFAT_RUN_MODE_VALID
    • In run mode
    • Out of run mode
    • Unknown
  • Low-voltage -> DCS.IMPORT:OHxx.LV_IMON + DCS.IMPORT:OHxx.LV_VCON
    • Monitored current
    • Monitored voltage at the PS connector

Related Issue

Fix #248 (closed).

How Has This Been Tested?

  • Front-end status are properly readout on the GE1/1 integration setup in b904
  • Low-voltage and high-voltage monitorables are properly imported from the DCS in a local instance of the monitoring suite at p5

Screenshots

2022-11-08-195945_1869x173_scrot

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
Edited Nov 09, 2022 by Laurent Petre
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/power-monitor