DUNE-DAQ / minidaqapp

0 stars 1 forks source link

Floriangroetschla/data recorder integration #43

Closed floriangroetschla closed 3 years ago

floriangroetschla commented 3 years ago

Add an optional record command to all configurations. It starts the raw recording for a specified amount of time. For the non-nanorc configurations this time is set when creating the config. For the nanorc configurations this time will be set when running the command. The additional links and modules are only added when using --enable-raw-recording. For non-nanorc configurations the command is not added if the recording is not enabled. For nanorc some changes are necessary to add the new command. If record is called from nanorc on a configuration that does not have raw recording enabled the user will be notified that the recording could not be started in the debug output of the DLH. A fork of nanorc with the addition of the record command (for testing) can be found in the repo https://github.com/floriangroetschla/nanorc/tree/record_command on the branch record_command.