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

New parameter added: it sets the number of timeslices to save over

Timeout set to 1 second (this will improve responsiveness of the JDAQDriver)
Typo correction
parent ca83e7ba
No related branches found
No related tags found
No related merge requests found
......@@ -2,14 +2,14 @@
#
# TriDAS launcher
#
# This script allow the launch the TriDAS processes on the machine
# This script allows the launch the TriDAS processes on the machine
#
# Author: Carmelo Pellegrino <carmelo.pellegrino@bo.infn.it>
#
if [ $# -ne 5 ]; then
if [ $# -ne 6 ]; then
echo "ERROR:"
echo "Syntax: $0 <run_number> <run_start_time> <run_duration_in_sec> <ip of the DAQ server> <username>"
echo "Syntax: $0 <run_number> <run_start_time> <run_duration_in_sec> <ip of the DAQ server> <username> <writetimeslices>"
exit -1
fi
......@@ -18,11 +18,12 @@ RUN_START_TIME=$2
RUN_DURATION=$3
DAQ_SERVER=$4
DAQ_USER=$5
WRITE_TIMESLICES=$6
SERVER=${DAQ_SERVER} # JLigier for StateMachine
LOGGER=${DAQ_SERVER} # JLigier for logging
DEBUG=3 # 3 is highest
TIMEOUT_S=20 # timeout arbitrarily set at 20 seconds
TIMEOUT_S=1 # timeout arbitrarily set to 20 seconds
NUMBER_OF_FRAMES=18 # 18 doms
......@@ -58,7 +59,7 @@ detector = %<${DETECTOR}>%;
triggerParameters = trigger3DMuon.enabled = 1;
triggerParameters = trigger3DShower.enabled = 1;
triggerParameters = writeSummary = 1;
triggerParameters = writeTimeslices = 1;
triggerParameters = writeTimeslices = ${WRITE_TIMESLICES};
bufferSize = 1073741824;
EOF
......
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