Skip to content

Base monitoring variable definition on json file

Dylan Oliver Teague requested to merge feature/daqmon-vars-in-jsonfile into develop

Overview

This branch creates 2 json files

  • monitorables.json -- All monitorable variables and their properties
  • labels.json -- Defined "labels" or ways the variables appear in the HTML page The monitoring code is thus greatly simplified by having the DaqMonitoring code just read in the information and parse it in an agnostic way.

The json file contains more info than is necessary (register name, number of bits, doc string) which could be used for generating documentation or simpler documentation lookup

This is not the end-all be-all, but it greatly reduces code repetition and errors.

Refer to MR !5 (closed) for more details

Edited by Laurent Petre

Merge request reports

Loading