-
Notifications
You must be signed in to change notification settings - Fork 29
Detector cold start #332
Comments
While this a really needed feature, what would be a realistic timeline to correctly implement it? To do everything right, it may require the configuration tree, the DB, the config blaster, ... Of course some of those prerequisites can be worked around, but it may be more effective to tackle some of them first. First, when do we need to access the front-end? IMHO, we should try not to access it at all during the initialization stage. At the configuration stage, the configuration is retrieved from the DB and be pushed to the front-end, establishing communication. The following steps, at configure time, should get us started:
What do you think? Of course, this mean we cannot get the featue right now, but reasonably soon. |
I agree with the way you're thinking. First of all we need a simplified cold start model, so there's no immediate need of configuration tree, DB and blaster (well, blaster will be used anyway). P.S. Finally, another thing to think about is... recovery of the CTP7 in case something happened... |
Yes, we always use the same GBT configurations... which don't have the right RX phases. That forces us to perform the GBT phase scan. One may want to produce new GBT configurations based on the known LUT.
I see, it is not very difficult to swap the RPC modules, but far from being practical. Still, I would try to get the hardware layout tree (currently Anyway, if you want to make it work with the current xDAQ-based XML configuration files and you have time, feel free to work on the issue. ;)
That's a good point that we only discussed very little bit about until now. It could be done at the initialization step while pushing the artifacts. The problem is, in which application? If multiple xDAQ applications are connected to the same CTP7, which one would be responsible for that operation? How to avoid race conditions/conflicts? A supervisor/bookkeeper could maybe do the job. |
Issue moved to the new GitLab project. |
Brief summary of issue
At the moment there's no mechanism to provide a cold start (after powercycle) for the front-end. If the requested OH is not programmed, the system will go into error state, with no recovering actions possible inside
cmsgemos
. We need to provide the mechanism of cold start either during "Initialize" or "Configure" state transition.Types of issue
Expected Behavior
Freshly powercycled front end should be initialized and configured correctly
Current Behavior
The system will go into error state during the "Initialize" FSM transition
Steps to Reproduce (for bugs)
Powercycle OH, start the
cmsgemos
gemsupervisor
application and press "Initialize" buttonContext
Requires manual intervention outside the
cmsgemos
to recover the front end to operational state. Significantly complicates debugging with the templatedrpc
modules as no tool for automatic front end recovery with templatedrpc
modules is present at the moment.Your Environment
The text was updated successfully, but these errors were encountered: