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

new cmd line parameter added (daq server host)

parent fa0e49ae
No related branches found
No related tags found
No related merge requests found
...@@ -7,20 +7,19 @@ ...@@ -7,20 +7,19 @@
# Author: Carmelo Pellegrino <carmelo.pellegrino@bo.infn.it> # Author: Carmelo Pellegrino <carmelo.pellegrino@bo.infn.it>
# #
if [ $# -ne 4 ]; then if [ $# -ne 5 ]; then
echo ERROR: echo "ERROR:"
echo Syntax: $0 <run_number> <run_start_time> <run_duration_in_sec> echo "Syntax: $0 <run_number> <run_start_time> <run_duration_in_sec> <ip of the DAQ server>"
exit -1 exit -1
fi fi
RUN_NUMBER=$1 RUN_NUMBER=$1
RUN_START_TIME=$2 RUN_START_TIME=$2
RUN_DURATION=$3 RUN_DURATION=$3
date DAQ_SERVER=$4
echo Starting DU1 DAQ for RUN $RUN
SERVER=localhost # JLigier for StateMachine SERVER=${DAQ_SERVER} # JLigier for StateMachine
LOGGER=localhost # JLigier for logging LOGGER=${DAQ_SERVER} # JLigier for logging
DEBUG=3 # 3 is highest DEBUG=3 # 3 is highest
TIMEOUT_S=20 # timeout arbitrarily set at 20 seconds TIMEOUT_S=20 # timeout arbitrarily set at 20 seconds
...@@ -28,11 +27,11 @@ NUMBER_OF_FRAMES=18 # 18 doms ...@@ -28,11 +27,11 @@ NUMBER_OF_FRAMES=18 # 18 doms
DIR=. # where to write the data DIR=. # where to write the data
DATAFILTER=localhost # hostname of oDataFilter DATAFILTER=${DAQ_SERVER} # hostname of oDataFilter
DATAQUEUE=localhost # hostname of DataQueue DATAQUEUE=${DAQ_SERVER} # hostname of DataQueue
PORT=5556 # port to which the dataqueue will send the frames PORT=5556 # port to which the dataqueue will send the frames
DATAWRITER=localhost # hostname of the DataWriter DATAWRITER=${DAQ_SERVER} # hostname of the DataWriter
DETECTOR=du1cppm.detx # position of the detector file DETECTOR=du1cppm.detx # position of the detector file
......
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