Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
pts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
misc
pts
Commits
078b6afe
Commit
078b6afe
authored
Jun 07, 2012
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug, temporary file path was wrong when called from pts.
parent
2ece155c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
test19.py
test/fmcadc100m14b4cha/python/test19.py
+3
-0
test23.py
test/fmcadc100m14b4cha/python/test23.py
+1
-0
test25.py
test/fmcadc100m14b4cha/python/test25.py
+3
-1
No files found.
test/fmcadc100m14b4cha/python/test19.py
View file @
078b6afe
...
...
@@ -267,8 +267,11 @@ def main (default_directory = '.'):
AWG_BAUD
=
57600
CALIBR_FILENAME
=
"calibration_data.txt"
CALIBR_FILENAME
=
os
.
path
.
join
(
default_directory
,
CALIBR_FILENAME
)
RAW_CALIBR_FILENAME
=
"calibration_raw_data.txt"
RAW_CALIBR_FILENAME
=
os
.
path
.
join
(
default_directory
,
RAW_CALIBR_FILENAME
)
MEAS_FILENAME
=
"calibration_meas.txt"
MEAS_FILENAME
=
os
.
path
.
join
(
default_directory
,
MEAS_FILENAME
)
start_test_time
=
time
.
time
()
...
...
test/fmcadc100m14b4cha/python/test23.py
View file @
078b6afe
...
...
@@ -47,6 +47,7 @@ def main (default_directory='.'):
CALIBR_FILENAME
=
"calibration_data.txt"
CALIBR_FILENAME
=
os
.
path
.
join
(
default_directory
,
CALIBR_FILENAME
)
EEPROM_BIN_FILENAME
=
"eeprom_content.out"
EEPROM_BIN_FILENAME
=
os
.
path
.
join
(
default_directory
,
EEPROM_BIN_FILENAME
)
EEPROM_SIZE
=
8192
# in Bytes
...
...
test/fmcadc100m14b4cha/python/test25.py
View file @
078b6afe
...
...
@@ -237,7 +237,7 @@ def make_meas(carrier, fmc, box, dac_value, in_value, in_range, adc_fs, repeat):
def
main
(
default_directory
=
'.'
):
# Constants declaration
TEST_NB
=
2
0
TEST_NB
=
2
5
EXPECTED_BITSTREAM_TYPE
=
0x1
# Calibration box vendor and product IDs
...
...
@@ -249,7 +249,9 @@ def main (default_directory = '.'):
AWG_BAUD
=
57600
CALIBR_FILENAME
=
"calibration_data.txt"
CALIBR_FILENAME
=
os
.
path
.
join
(
default_directory
,
CALIBR_FILENAME
)
EEPROM_BIN_FILENAME
=
"eeprom_content.out"
EEPROM_BIN_FILENAME
=
os
.
path
.
join
(
default_directory
,
EEPROM_BIN_FILENAME
)
EEPROM_SIZE
=
8192
# in Bytes
...
...
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