Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL Blocking
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
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
Conv TTL Blocking
Commits
72ee1356
Commit
72ee1356
authored
Feb 16, 2017
by
Projects
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/pulse_rejection: clear errors by writing to error register
parent
f411da59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pulse_rejection.py
software/tests/pulse_rejection.py
+2
-2
No files found.
software/tests/pulse_rejection.py
View file @
72ee1356
...
...
@@ -88,7 +88,7 @@ for test in tests:
convttl
.
pulse_counter_set
(
ch
,
(
0
,
0
))
# clear errors (including missed pulse flags)
convttl
.
error
.
clear
()
convttl
.
error
.
error_reg
=
convttl
.
error
.
ERRORS_MASK
print
(
"------"
)
print
(
"TEST: repeat
%
d pulses at
%
d Hz"
%
(
pulses
,
freq
))
...
...
@@ -146,7 +146,7 @@ for test in tests:
convttl
.
pulse_counter_set
(
ch
,
(
0
,
0
))
# clear errors (including missed pulse flags)
convttl
.
error
.
clear
()
convttl
.
error
.
error_reg
=
convttl
.
error
.
ERRORS_MASK
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