Skip to content
Snippets Groups Projects
Commit 2a30422c authored by Carmelo Pellegrino's avatar Carmelo Pellegrino
Browse files

passing the run-number as a parameter to the DAQ script

parent f81afe1e
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ run_number=`get_run_number` ...@@ -102,7 +102,7 @@ run_number=`get_run_number`
daq_log_file=~/.km3_private/daq_${run_number}.log daq_log_file=~/.km3_private/daq_${run_number}.log
JGetMessage -H localhost -T MSG -d 3 >${daq_log_file} & JGetMessage -H localhost -T MSG -d 3 >${daq_log_file} &
## impl: get the pid and add to the list of must_kill_at_the_exit
# Copy selected run setup file, changing the run number # Copy selected run setup file, changing the run number
...@@ -111,9 +111,10 @@ JGetMessage -H localhost -T MSG -d 3 >${daq_log_file} & ...@@ -111,9 +111,10 @@ JGetMessage -H localhost -T MSG -d 3 >${daq_log_file} &
dm_driver ${run_duration} | mono DetectorControl.exe --control --reset & dm_driver ${run_duration} | mono DetectorControl.exe --control --reset &
# Launch the DAQ # Launch the DAQ
DAQ.sh DAQ.sh ${run_number}
# Point the browser to the correct address, if required # Point the browser to the correct address, if required
zenity --question \ zenity --question \
--text="Would you like to open the DetectorManager GUI?" \ --text="Would you like to open the DetectorManager GUI?" \
--cancel-label="No, thanks" && firefox http://localhost:1301/ --cancel-label="No, thanks" && firefox http://localhost:1301/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment