Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite
Commits
ab4b15cf
Commit
ab4b15cf
authored
Mar 07, 2013
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Add calibration-only pts script.
parent
d92a0edb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
fmcadc100m14b4cha_calibr.sh
fmcadc100m14b4cha_calibr.sh
+32
-0
No files found.
fmcadc100m14b4cha_calibr.sh
0 → 100755
View file @
ab4b15cf
#!/bin/sh
# Copyright CERN, 2011
# Author: Matthieu Cattin <matthieu.cattin@cern.ch>
# Licence: GPL v2 or later.
# Website: http://www.ohwr.org
LOGDIR
=
./log_fmcadc100m14b4cha
mkdir
-p
$LOGDIR
sudo rm
-fr
$LOGDIR
/pts
*
serial
=
$1
if
[
x
$1
=
x
""
]
;
then
echo
-n
"Please scan CERN serial number bar-code, then press [ENTER]: "
read
serial
fi
if
[
x
$serial
=
x
""
]
;
then
serial
=
0000
fi
extra_serial
=
0000
if
[
-e
serial.txt
]
;
then
sudo rm
-f
serial.txt
fi
echo
$serial
>>
serial.txt
sudo
./pts.py
-b
FmcAdc100M14b4cha
-s
$serial
-e
$extra_serial
-t
./test/fmcadc100m14b4cha/python
-l
$LOGDIR
00 22 19 23 25
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment