From a800a0339317ee0440e0698f7ff4c08ac429fdd9 Mon Sep 17 00:00:00 2001 From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com> Date: Tue, 26 May 2015 18:12:34 +0200 Subject: [PATCH] launch the DAQ before the DM (and, hence, the detector). This resolves issue #3. --- patch-control.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patch-control.sh b/patch-control.sh index 4ad9a58..be55525 100755 --- a/patch-control.sh +++ b/patch-control.sh @@ -169,16 +169,16 @@ cat ${rs_file} | sed -e "s/RUNNUMBER/${run_number}/" >${DM_DATA_DIR}/dm.detector run_start_time=`nowUTC` -# Launch the DM -dm_driver ${run_duration_seconds} | mono ${DM_EXE_DIR}/DetectorControl.exe --control --reset & -PROCS=(${PROCS[*]} $!) - # Launch the DAQ log "Launching the DAQ with the following command line: daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} ${DAQ_SERVER} ${DAQ_USER} " daq_driver_log_file=~/.km3_private/daq_driver_${run_number}.log daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} ${DAQ_SERVER} ${DAQ_USER} >${daq_driver_log_file} & PROCS=(${PROCS[*]} $!) +# Launch the DM +dm_driver ${run_duration_seconds} | mono ${DM_EXE_DIR}/DetectorControl.exe --control --reset & +PROCS=(${PROCS[*]} $!) + # Put notification mark in the system tray zenity --notification --text="Run ${run_number} is on going." & PROCS=(${PROCS[*]} $!) -- GitLab