diff --git a/FofbTool.py b/FofbTool.py index 65ee486ce66afb8ef6f4fd71ddee94bf5931a47f..22741f97db292626af132331394d2c9b430dea89 100755 --- a/FofbTool.py +++ b/FofbTool.py @@ -376,6 +376,24 @@ def set_attr_config_centralnode(cnp): c.max_value='2' cnp.set_attribute_config(c) + c = cnp.get_attribute_config("corr_command_{}".format(p)) + c.description = "Correction command sent for {} plan, in Ampers. Mobile mean on 1 second.\n".format(p.upper()) +c.description + c.format = '%f' + c.unit = 'A' + cnp.set_attribute_config(c) + + c = cnp.get_attribute_config("orbit_error_{}".format(p)) + c.description = "Orbit error read from BPMs, in nm. Mobile mean on 1 second.\n".format(p.upper()) +c.description + c.format = '%d' + c.unit = 'nm' + cnp.set_attribute_config(c) + + c = cnp.get_attribute_config("corr_ref_{}".format(p)) + c.description = "Orbit reference, in nm.\n".format(p.upper()) +c.description + c.format = '%d' + c.unit = 'nm' + cnp.set_attribute_config(c) + for n in "12": for cf in ("a","b","ic","d"): c = cnp.get_attribute_config("corr_k{}{}_{}".format(n,cf,p))