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

feat(Utils): Add parameter to configure comcorr to disabled

* This allow the quick stopping of all frames to steerers
parent 0142cb08
No related branches found
No related tags found
No related merge requests found
......@@ -145,11 +145,16 @@ def conf_all_combpm():
return success
def conf_all_comcorr():
def conf_all_comcorr(enable=True):
"""
Run default configuration of all comcorr blocks.
Check beforehand that the FOFB is not running.
PARAMETERS
----------
enable: Boolean
True to enable frame output to PSC (steerers).
RETURN
------
running: Boolean
......@@ -162,7 +167,7 @@ def conf_all_comcorr():
success=True
for i,(n,p) in enumerate(tangopath_cellnodes.items()):
s=FofbTool.Configuration.cellnode_configure_comcorr(n)
s=FofbTool.Configuration.cellnode_configure_comcorr(n, enable=enable)
success = success and s
return success
......
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