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(): ...@@ -145,11 +145,16 @@ def conf_all_combpm():
return success return success
def conf_all_comcorr(): def conf_all_comcorr(enable=True):
""" """
Run default configuration of all comcorr blocks. Run default configuration of all comcorr blocks.
Check beforehand that the FOFB is not running. Check beforehand that the FOFB is not running.
PARAMETERS
----------
enable: Boolean
True to enable frame output to PSC (steerers).
RETURN RETURN
------ ------
running: Boolean running: Boolean
...@@ -162,7 +167,7 @@ def conf_all_comcorr(): ...@@ -162,7 +167,7 @@ def conf_all_comcorr():
success=True success=True
for i,(n,p) in enumerate(tangopath_cellnodes.items()): 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 success = success and s
return success return success
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment