Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Acqua
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
LAGO
Software
Acqua
Commits
33f67738
Commit
33f67738
authored
2 years ago
by
Luis Horacio Arnaldi
Browse files
Options
Downloads
Patches
Plain Diff
Change number of channels from 3 to 2
parent
7c037de3
Branches
dev-acqua_v2
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
redpitaya/daq/lago-run.sh
+2
-6
2 additions, 6 deletions
redpitaya/daq/lago-run.sh
redpitaya/daq/lago-stop.sh
+0
-2
0 additions, 2 deletions
redpitaya/daq/lago-stop.sh
with
2 additions
and
8 deletions
redpitaya/daq/lago-run.sh
+
2
−
6
View file @
33f67738
#!/bin/bash
detector1HV
=
0
detector2HV
=
0
detector3HV
=
0
detector1Trigger
=
1000
detector2Trigger
=
1000
detector3Trigger
=
1000
source
${
LAGO_DAQ
}
/lago-configs
cd
${
work
}
...
...
@@ -12,7 +10,7 @@ cd ${work}
maxchecks
=
5
for
i
in
$(
seq
1
$maxchecks
)
;
do
echo
"Try
$i
"
;
echo
./lago
-x
firmware/lago_
fpga_vhdl_ram_
${
fpgaGates
}
k.xsvf
&&
break
cat
firmware/lago_
v1_3.bit
>
/dev/xdevcfg
&&
break
echo
done
...
...
@@ -23,7 +21,7 @@ if [ "$i" -eq "$maxchecks" ]; then
fi
sleep
5
# Loop to wait for GPS to start working and configue true date
# Loop to wait for GPS to start working and configu
r
e true date
gps
=
${
hasGPS
}
# this is highly experimental and should not be used.
# if you are using a computer, please check the time is correctly setted
...
...
@@ -44,10 +42,8 @@ fi
# setting daq
./lago
-s
hv1
${
detector1HV
}
./lago
-s
hv2
${
detector2HV
}
./lago
-s
hv3
${
detector3HV
}
./lago
-s
t1
${
detector1Trigger
}
./lago
-s
t2
${
detector2Trigger
}
./lago
-s
t3
${
detector3Trigger
}
./lago
-a
echo
"Waiting 10 seconds to start..."
sleep
10
...
...
This diff is collapsed.
Click to expand it.
redpitaya/daq/lago-stop.sh
+
0
−
2
View file @
33f67738
...
...
@@ -13,10 +13,8 @@ fi
./lago
-s
t1 1000
./lago
-s
t2 1000
./lago
-s
t3 1000
./lago
-s
hv1 0
./lago
-s
hv2 0
./lago
-s
hv3 0
echo
"Waiting 10 sec for PMT..."
sleep
10
...
...
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