-
Notifications
You must be signed in to change notification settings - Fork 13
[Feature request] Port the PROMless test script to an RPC method #130
Comments
I cannot self-asign, but I already started working on the issue. It works for 1 OH at the moment, but is the "multi-link" extension is trivial. |
Which python tools are you referring too? There are no limitations with the python API in the central SW repo's. It's not clear from this issue what you are proposing or how it is different from Moreover it's not clear why the current tool |
I've marked this as question since more info is needed; again based on the current issue description the appropriate place for this does not appear to be here. |
I'm referring to the CTP7 Python tools. As far as I know, the full address table
Indeed it includes the functionality provided by
A script in a higher level repo ( |
This is not correct. One can prepare a Considering the repository: this is not correct place to put the python code. GEM-specific expert-level python tools should go under |
So this is not the full address table. ;-) And we need more than 4 optical links; even at ULB we use OH0 and OH4 due to fibers configuration. Sure one could create a
My proposal is not a Python tool, its a real C++ RPC method. Sure there will be an expert-level Python interface in |
Considering the address table:
So far we are in general fine with the |
No, I don't have a real use case. Sure we could improve the current Python script but I my opinion it's worth moving a superset of it to the RPC modules. In the same time the RPC method version would allow an easy GE2/1 compatibility since it can abstract all the small differences from DAQ machine software, e.g. the fibers mapping and SCA GPIO mappings. One more idea for the |
Based on this (and the fact that there currently exists a functionality to achieve the desired result), this development should proceed after the RPC modules migrate to the templated API |
Brief summary of issue
@evka85 developed a very useful Python script to test the PROMless/slow control/trigger link issue. This script is available on some CTP7. For example on
eagle23
at/mnt/persistent/gemdaq/python/reg_interface/ge11_promless_test.py
.Types of issue
Expected Behavior
Since the Python tools have limitations with the complete address table, I suggest to implement this RPC method as a close port of Evaldas' script :
Where
mode
is one of the followings :dontStop
: always perform the given number of iterations. This gives us statistics.stopOnSuccess
: stops once all OHs inohask
are properly programmed. The mode could advantageously replace theprogramAllOptoHybrids
function ofcmsgemos
.stopOnFailure
: stops as soon as a failure is detected, so one can investigate.Obviously the remotely callable method should be implemeted as well.
Context (for feature requests)
We need a tool to test new OH/CTP7 firmware and to precisely diagnose any PROMless/slow control/trigger link failure.
The text was updated successfully, but these errors were encountered: