Project

General

Profile

Actions

Feature #1171

open

Feature #1168: Generalize Detector Decode methods

Task #1187: v1.8 Decoder improvements

Support global configuration strings in crate map

Added by Ole Hansen about 12 hours ago. Updated about 10 hours ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
8.00 h
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 #1

Updated by Ole Hansen about 10 hours ago

  • Parent task changed from #1168 to #1187
Actions #2

Updated by Ole Hansen about 10 hours ago

  • Start date deleted (02/09/2026)
Actions

Also available in: Atom PDF