Skip to content
Snippets Groups Projects
Commit 8aae5c20 authored by BRONES Romain's avatar BRONES Romain
Browse files

feat: Add bpm count for matrix corr

parent 222f67f8
No related branches found
No related tags found
No related merge requests found
......@@ -285,6 +285,8 @@ def centralnode_configure_corr():
f[0:100] = range(1,101)
prx["corr_pscid"] = f
prx["corr_num_bpm"] = 122
logger.info("Configuration of Corr done on {}.".format(p))
return True
......@@ -358,6 +358,15 @@ def set_attr_config_centralnode(cnp):
c.alarms.max_warning='331'
cnp.set_attribute_config(c)
c = cnp.get_attribute_config("corr_num_bpm")
c.description = "Number of expected bpm packets for the matrix multiplication."+c.description
c.format = '%d'
c.unit = ' '
c.alarms.min_warning='121'
c.alarms.max_warning='123'
cnp.set_attribute_config(c)
for p in "xy":
c = cnp.get_attribute_config("corr_control_{}".format(p))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment