diff --git a/FofbTool/Utils.py b/FofbTool/Utils.py index f93a146e722089a324fa603971b53ecd5868cadb..dc7606d33a2f20e62a270ca53220f25e4ea5ebdd 100644 --- a/FofbTool/Utils.py +++ b/FofbTool/Utils.py @@ -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