Commit ffa923c7 authored by Projects's avatar Projects

test/pulse_rejection: improved counter state reports

parent ce62ca55
...@@ -105,7 +105,10 @@ for test in tests: ...@@ -105,7 +105,10 @@ for test in tests:
counters = convttl.pulse_counters counters = convttl.pulse_counters
if(old_counters != 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 old_counters = counters
for ch in convttl.CHANNELS: for ch in convttl.CHANNELS:
...@@ -166,7 +169,10 @@ for test in tests: ...@@ -166,7 +169,10 @@ for test in tests:
counters = convttl.pulse_counters counters = convttl.pulse_counters
if(old_counters != 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 old_counters = counters
for ch in convttl.CHANNELS: for ch in convttl.CHANNELS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment