Project

General

Profile

Feature #22882

online monitor connection robustness

Added by Ron Rechenmacher about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
07/09/2019
Due date:
% Done:

0%

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

Description

Currently - online monitoring retries 3 times with .1 s inbetween...
I would like to see online monitoring to be able to be started first and/or
persist across multiple runs.

History

#1 Updated by Eric Flumerfelt about 1 month ago

  • Assignee set to Eric Flumerfelt
  • Status changed from New to Work in progress

I've started to make some changes to TransferWrapper on artdaq:feature/22882_TransferWrapper_ConnectionRobustness. I would like to get this code to a point where online monitors can be started at any time with respect to the DAQ and be able to connect and disconnect at will.

#2 Updated by Eric Flumerfelt about 1 month ago

  • Status changed from Work in progress to Resolved

With the addition of a "allowMultipleRuns" parameter and a "dispatcherConnectTimeout" parameter, I have improved TransferWrapper so that it can wait up to a user-specified amount of time for the Dispatcher to enter the "Running" state (which it determines by querying the Dispatcher's status), polling for the Dispatcher's status every "dispatcherConnectRetryInterval_us" (defaults to 1 second, between 1000 us and 30 seconds). If allowMultipleRuns is false, the online monitor will terminate when it receives an EndOfData Fragment (current behavior), otherwise, it will re-enter the Dispatcher connection routine.



Also available in: Atom PDF