Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
patch-control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carmelo Pellegrino
patch-control
Commits
7f9d1c34
Commit
7f9d1c34
authored
9 years ago
by
Carmelo Pellegrino
Browse files
Options
Downloads
Patches
Plain Diff
new cmd line parameter added (daq server host)
parent
fa0e49ae
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
daq.sh
+9
-10
9 additions, 10 deletions
daq.sh
with
9 additions
and
10 deletions
daq.sh
+
9
−
10
View file @
7f9d1c34
...
...
@@ -7,20 +7,19 @@
# Author: Carmelo Pellegrino <carmelo.pellegrino@bo.infn.it>
#
if
[
$#
-ne
4
]
;
then
echo
ERROR:
echo
Syntax:
$0
<run_number> <run_start_time> <run_duration_in_sec>
if
[
$#
-ne
5
]
;
then
echo
"
ERROR:
"
echo
"
Syntax:
$0
<run_number> <run_start_time> <run_duration_in_sec>
<ip of the DAQ server>"
exit
-1
fi
RUN_NUMBER
=
$1
RUN_START_TIME
=
$2
RUN_DURATION
=
$3
date
echo
Starting DU1 DAQ
for
RUN
$RUN
DAQ_SERVER
=
$4
SERVER
=
localhost
# JLigier for StateMachine
LOGGER
=
localhost
# JLigier for logging
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
...
...
@@ -28,11 +27,11 @@ NUMBER_OF_FRAMES=18 # 18 doms
DIR
=
.
# where to write the data
DATAFILTER
=
localhost
# hostname of oDataFilter
DATAQUEUE
=
localhost
# hostname of DataQueue
DATAFILTER
=
${
DAQ_SERVER
}
# hostname of oDataFilter
DATAQUEUE
=
${
DAQ_SERVER
}
# hostname of DataQueue
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment