Commit 2139202e authored by Federico Vaga's avatar Federico Vaga

tst: size buffer to store all expected TS

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 3dd6af8c
......@@ -63,6 +63,7 @@ class TestFmctdcAcquisition(object):
number of each timestamps increase by 1. Test 100 milli-second
acquisition at different frequencies"""
prev_seq = None
fmctdc_chan.buffer_len = count
fmcfd.generate_pulse(TDC_FD_CABLING[fmctdc_chan.idx], 1000,
period_ns, count, True)
ts = fmctdc_chan.read(count, os.O_NONBLOCK)
......
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