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

reading the DAQ server address from shell var

parent 7f9d1c34
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@
# DM_EXE_DIR -> the absolute path of the folder which contain DetectorControl.exe
# DM_DATA_DIR -> the absolute path of the folder which contain the detectorfile
# PC_CONF_DIR -> the absolute path of the pc.cfg configuration file
# DAQ_SERVER -> IP address of the DAQ Server
function put_lock() {
touch /tmp/pc.lock
......@@ -170,7 +171,7 @@ 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_driver_log_file=~/.km3_private/daq_driver_${run_number}.log
daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} &
daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} ${DAQ_SERVER} &
PROCS=(${PROCS[*]} $!)
# Put notification mark in the system tray
......
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