Project

General

Profile

Actions

Feature #1171

open

Task #1168: Generalize Detector Decode methods

Task #1187: v1.8 Decoder improvements

Support global configuration strings in crate map

Added by Ole Hansen 21 days ago. Updated 4 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
02/25/2026
Due date:
% Done:

100%

Estimated time:
8.00 h
Spent time:
Responsible:
Ole Hansen

Description

Decoder modules (Decoder::Module subclasses) do not have databases, but there is support for configuring them via "configuration strings" in the crate map. To avoid having to repeat the same string over and over for identical modules (say, 50 FADC250 modules), THaCrateMap should support global (default) configuration strings per module. For example, at the beginning of the crate map, one might have

config 250 fw=3

to pass the configuration string "fw=3" to ALL modules of type 250. Individual modules then only need an explicit configuration string to override or append to the default string, e.g.

==== Crate 10 type vme
  1. slot model bank
    3 250 250
    4 250 250 cfg:fw=2
    5 250 250 cfg:+debug

The module in slot 3 is configured with "fw=3", while the one in slot 4 receives "fw=2" and the one in slot 5, "fw=3,debug". A per-module configuration string starting with "+" is appended to the default.

Actions

Also available in: Atom PDF