Skip to content

Commit

Permalink
prepend 'fem *' command before 'clr tstamp' and 'clr evcnt'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroEzq committed Sep 30, 2024
1 parent eb273d9 commit a5ac0b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mclient/cmdfetcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,9 @@ int CmdFetcher_ParseCmdFile(CmdFetcher* cf) {

// Always append as header clear event counter and timestamp. Only in case we are starting a data taking run
if (strcmp(cf->cmd_file, "ped") != 0 && strcmp(cf->cmd_file, "start") != 0 && strcmp(cf->cmd_file, "runTCM") != 0) {
sprintf(cf->snd[ix], "fem *\n");
cf->cmd_cnt++;
ix++;
sprintf(cf->snd[ix], "clr tstamp\n");
cf->cmd_cnt++;
ix++;
Expand Down

0 comments on commit a5ac0b1

Please sign in to comment.