Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC ADC 100M 14b 4cha - Testing
Commits
e1e41c69
Commit
e1e41c69
authored
Oct 25, 2011
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic changes of prints.
parent
a96d3421
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
fmcadc100m14b4cha.sh
fmcadc100m14b4cha.sh
+3
-0
test03.py
test/fmcadc100m14b4cha/python/test03.py
+2
-2
No files found.
fmcadc100m14b4cha.sh
View file @
e1e41c69
...
...
@@ -10,6 +10,8 @@ LOGDIR=./log_fmcadc100m14b4cha
mkdir
-p
$LOGDIR
sudo rm
-fr
$LOGDIR
/pts
*
echo
" "
serial
=
$1
if
[
x
$1
=
x
""
]
;
then
echo
-n
"Please scan CERN bar-code serial number, then press [ENTER]: "
...
...
@@ -37,6 +39,7 @@ while [ "$nb_test" -le "$nb_test_limit" ]
do
echo
"--------------------------------------------------------------"
echo
"Test series run
$nb_test
out of
$nb_test_limit
"
echo
" "
sudo
./pts.py
-b
FmcAdc100M14b4cha
-s
$serial
-e
$extra_serial
-t
./test/fmcadc100m14b4cha/python
-l
$LOGDIR
00 01 02 03 04 05 06 07 08 09
...
...
test/fmcadc100m14b4cha/python/test03.py
View file @
e1e41c69
...
...
@@ -60,7 +60,7 @@ def main (default_directory='.'):
ask
=
""
;
while
((
ask
!=
"Y"
)
and
(
ask
!=
"N"
))
:
print
"-------------------------------------------------------------"
ask
=
raw_input
(
"Are the front panel LEDs (TRIG and ACQ) switched ON? [
Y/N
]"
)
ask
=
raw_input
(
"Are the front panel LEDs (TRIG and ACQ) switched ON? [
y,n
]"
)
ask
=
ask
.
upper
()
#print "-------------------------------------------------------------"
print
" "
...
...
@@ -77,7 +77,7 @@ def main (default_directory='.'):
ask
=
""
;
while
((
ask
!=
"Y"
)
and
(
ask
!=
"N"
))
:
print
"-------------------------------------------------------------"
ask
=
raw_input
(
"Are the front panel LEDs (TRIG and ACQ) switched OFF? [
Y/N
]"
)
ask
=
raw_input
(
"Are the front panel LEDs (TRIG and ACQ) switched OFF? [
y,n
]"
)
ask
=
ask
.
upper
()
#print "-------------------------------------------------------------"
print
" "
...
...
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