Skip to content
Snippets Groups Projects
Select Git revision
  • 20806841a4dd9c8c8bd33297c41271e8a6764b3c
  • main default protected
  • GBE
  • dev
  • dev_rcm
  • dev_sync_lbp
  • 3.2
  • 3.1
  • 3.0
  • 2.5
  • 2.4
  • 2.3
  • 2.2.1
  • 2.2
  • 2.1
  • 2.0
  • 1.0
17 results

fofbtool

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Romain BRONÈS's avatar
    BRONES Romain authored
    * Orbit error, ref and corrector command
    20806841
    History
    Name Last commit Last update
    FofbTool.py
    README.adoc

    FofbTool script

    This expert script helps to configure, stop and start the communication between the FofbNodes.

    Basic usages

    Classic: stop, config, start

    This stops the communication on all the nodes. Also stops Bpm to CellNode communication blocks.

    Then apply the default configuration on FPGA blocks:

    • ComCellNode (Expected packets, correct MAC size…​)

    • ComBPM (BPM ID filter Filter for each CellNode…​)

    • ComCorr (Default PSCID on output…​)

    • Corr (Default correction filter…​)

    This do not configure Orbit Reference or Inv Response Matrix. This do not start the FOFB, only the communication.
    PSC will receive frames upon start. Better stop the FOFB beforehand.
    Details
    $ FofbTool --stop --config --start
    INFO    : Stopping CCN on ANS/DG/FOFB-CELLNODE-C01
    INFO    : Stopping ComBpm on ANS/DG/FOFB-CELLNODE-C01
    INFO    : Stopping CCN on ANS/DG/FOFB-CELLNODE-C06
    INFO    : Stopping ComBpm on ANS/DG/FOFB-CELLNODE-C06
    INFO    : Stopping CCN on ANS/DG/FOFB-CELLNODE-C09
    INFO    : Stopping ComBpm on ANS/DG/FOFB-CELLNODE-C09
    INFO    : Stopping CCN on ANS/DG/FOFB-CELLNODE-C14
    INFO    : Stopping ComBpm on ANS/DG/FOFB-CELLNODE-C14
    INFO    : Stopping CCN on ANS/DG/FOFB-CENTRALNODE
    INFO    : Configuration of ComBpm done on ANS/DG/FOFB-CELLNODE-C01.
    INFO    : Configuration of ComCorr done on ANS/DG/FOFB-CELLNODE-C01.
    INFO    : Configuration of CCN done on ANS/DG/FOFB-CELLNODE-C01.
    INFO    : Configuration of ComBpm done on ANS/DG/FOFB-CELLNODE-C06.
    INFO    : Configuration of ComCorr done on ANS/DG/FOFB-CELLNODE-C06.
    INFO    : Configuration of CCN done on ANS/DG/FOFB-CELLNODE-C06.
    INFO    : Configuration of ComBpm done on ANS/DG/FOFB-CELLNODE-C09.
    INFO    : Configuration of ComCorr done on ANS/DG/FOFB-CELLNODE-C09.
    INFO    : Configuration of CCN done on ANS/DG/FOFB-CELLNODE-C09.
    INFO    : Configuration of ComBpm done on ANS/DG/FOFB-CELLNODE-C14.
    INFO    : Configuration of ComCorr done on ANS/DG/FOFB-CELLNODE-C14.
    INFO    : Configuration of CCN done on ANS/DG/FOFB-CELLNODE-C14.
    INFO    : Configuration of CCN done on ANS/DG/FOFB-CENTRALNODE.
    INFO    : Configuration of Corr done on ANS/DG/FOFB-CENTRALNODE.
    INFO    : Starting CCN on ANS/DG/FOFB-CELLNODE-C01
    INFO    : Starting ComBpm on ANS/DG/FOFB-CELLNODE-C01
    INFO    : Ack CCN error on ANS/DG/FOFB-CELLNODE-C01
    INFO    : Starting CCN on ANS/DG/FOFB-CELLNODE-C06
    INFO    : Starting ComBpm on ANS/DG/FOFB-CELLNODE-C06
    INFO    : Ack CCN error on ANS/DG/FOFB-CELLNODE-C06
    INFO    : Starting CCN on ANS/DG/FOFB-CELLNODE-C09
    INFO    : Starting ComBpm on ANS/DG/FOFB-CELLNODE-C09
    INFO    : Ack CCN error on ANS/DG/FOFB-CELLNODE-C09
    INFO    : Starting CCN on ANS/DG/FOFB-CELLNODE-C14
    INFO    : Starting ComBpm on ANS/DG/FOFB-CELLNODE-C14
    INFO    : Ack CCN error on ANS/DG/FOFB-CELLNODE-C14
    INFO    : Starting CCN on ANS/DG/FOFB-CENTRALNODE

    Configure OPCUAProxy DS

    Upon restart of OPCUAProxy Tango DS, to reapply attribute configuration (units, alarm level, descriptions…​)

    Details
    $ FofbTool --confDS
    INFO    : Apply attribute configuration on device ANS/DG/FOFB-CELLNODE-C09
    INFO    : Apply attribute configuration on device ANS/DG/FOFB-CELLNODE-C14
    INFO    : Apply attribute configuration on device ANS/DG/FOFB-CENTRALNODE
    INFO    : Apply attribute configuration on device ANS/DG/FOFB-CELLNODE-C06
    INFO    : Apply attribute configuration on device ANS/DG/FOFB-CELLNODE-C01