Newer
Older
= FofbTool Module
This python module provides functions to deal with the Fofb MTCA platform.
It connects to the OPCUAProxy tango devices.
The module is packaged in sections
* FofbTool.Configuration: For application configuration
* FofbTool.Operation: Function to perform operation (start, stop...)
* FofbTool.DeviceAttributeConfiguration: contains functions to apply tango attribute configuration
There is also a Command Line Interface bin/FofbTool written in python.
To deploy on the RCM, move into dir and execute install_rcm.sh.
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...)
IMPORTANT: This do not configure Orbit Reference or Inv Response Matrix.
This do not start the FOFB, only the communication.
WARNING: PSC will receive frames upon start. Better stop the FOFB beforehand. The CLI won't let you do that.
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
====
[source,console]
----
$ 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
----
====
Upon restart of OPCUAProxy Tango DS, to reapply attribute configuration (units, alarm level, descriptions...)
====
[source,console]
----
$ 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
----
====