Project

General

Profile

Feature #16635

Have the DAQInterface configuration file support arbitrary numbers of data loggers and dispatchers.

Added by John Freeman over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/23/2017
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

This is accomplished with DAQInterface commit f80236d5ce3c4a1826d1857dc38ca73dee76df21. If the version of the bookkeeping function selected for DAQInterface is bookkeeping_for_fhicl_documents_artdaq_v3_base, then users can define arbitrary #'s of data loggers and dispatchers in the DAQInterface configuration file, e.g. like so:

DataLogger host: localhost
DataLogger port: 5265

DataLogger host: localhost
DataLogger port: 5266

DataLogger host: localhost
DataLogger port: 5267

Dispatcher host: localhost
Dispatcher port: 5268

Dispatcher host: localhost
Dispatcher port: 5269

The default behavior is for the data loggers to send out all their events, but divided among the dispatchers so if we have N dispatchers, each one receives 1/N events. A simple boolean in bookkeeping_for_fhicl_documents_artdaq_v3_base allows one to change this behavior so that each dispatcher receives every event.

Note that the bookkeeping function used by default in DAQInterface will remain bookkeeping_for_fhicl_documents_artdaq_v2_base (only allowing for one data logger), until the official artdaq-demo installation instructions at https://cdcvs.fnal.gov/redmine/projects/artdaq-demo/wiki refer to the new artdaq-demo / artdaq versions, v2_09_03 and v2_02_03, respectively.



Also available in: Atom PDF