Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Conv TTL Blocking
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Projects
Conv TTL Blocking
Commits
ffa923c7
Commit
ffa923c7
authored
8 years ago
by
Projects
Browse files
Options
Downloads
Patches
Plain Diff
test/pulse_rejection: improved counter state reports
parent
ce62ca55
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
software/tests/pulse_rejection.py
+8
-2
8 additions, 2 deletions
software/tests/pulse_rejection.py
with
8 additions
and
2 deletions
software/tests/pulse_rejection.py
+
8
−
2
View file @
ffa923c7
...
...
@@ -105,7 +105,10 @@ for test in tests:
counters
=
convttl
.
pulse_counters
if
(
old_counters
!=
counters
):
print
(
counters
)
for
ch
in
convttl
.
CHANNELS
:
print
(
"
CH%d
"
%
ch
),
print
(
"
[TTL:%7d BLO:%7d]
"
%
counters
[
ch
-
1
]),
print
(
""
)
old_counters
=
counters
for
ch
in
convttl
.
CHANNELS
:
...
...
@@ -166,7 +169,10 @@ for test in tests:
counters
=
convttl
.
pulse_counters
if
(
old_counters
!=
counters
):
print
(
counters
)
for
ch
in
convttl
.
CHANNELS
:
print
(
"
CH%d
"
%
ch
),
print
(
"
[TTL:%7d BLO:%7d]
"
%
counters
[
ch
-
1
]),
print
(
""
)
old_counters
=
counters
for
ch
in
convttl
.
CHANNELS
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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