AtlasBOC Input/Output link scan with ROD |
output [fmt] links by Paolo;
September 30th, 2004, completed by private communications |
LinkScanby Andreas and DirkYou want to rudely send one identical configuration to one, several or all of the output links of your ROD board? With minimal overhead, no generation of root configuration files? This is the tool you need:
The Options
<hexval> is a hex number without leading
0x, e. g. 00FF0800,
whereas <intval> can be an integer in any coding,
but a non-decimal base must be specified:
e. g.
18
= 0x12
= 0110.
* Can be copied from PPRDB or generated with ModuleAnalysis;
a copy of a working TurboDAQ config directory is also a valid possibility.
| |
Output link scanby PaoloI've added to CVS (PixLib/Examples) an application called OutputLinkScan which is sending 4 triggers (16 consecutive accepts) to the module(s) specified in the DB, capture the MCC out in the inmem, decode the specified channels and gives you the number of events found or the number of decoding errors (in this case the number is negative). You can also scan all the BOC delay values, so you can find the delay range giving well formatted output. The numbers you see are ROD input lines. The conversion to the fmt:lnk needed for the OutputLink db parameter depends on the setting of the formatter registers. If the default value is used, then
ROD input line fmt:lnk OutputLink ---------------------------------------------- FMT 0 0 1 2 0:0 0 3 0:1 1 4 0:2 2 5 0:3 3 6 7 8 9 10 11 ----------------------------------------------- FMT 1 12 13 14 1:0 16 15 1:1 17 ... 23 ----------------------------------------------- FMT 2 24 25 26 2:0 32 ...Examples: ./OutputLinkScan mydb.cfg.root
The configuration file ( You can create a .cfg.root file to use with OutputLinkScan in this way:
config-name.cfg.root
file from your turboDAQ config file.
If you want to produce a file usable for a scan
(cf. next recipe), you have to modify
Examples/rootDB1.0_2_2.cfg
and put the correct input and output link numbers in the lines
FIELD general_InputLink int xx
FIELD general_OutputLink1 int yy
FIELD general_OutputLink2 int yy
FIELD general_OutputLink3 int yy
FIELD general_OutputLink4 int yy
| |
Remarks, CommentsSee above (under the corresponding items). |
|
|
Let us know, if these recipes works or you want to suggest improvements.
( |