Commit bf2046ae authored by Federico Vaga's avatar Federico Vaga

tst: enable channel after configuration

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 6300a5b1
...@@ -25,10 +25,10 @@ def fmctdc_chan(request): ...@@ -25,10 +25,10 @@ def fmctdc_chan(request):
tdc.chan[request.param].termination = False tdc.chan[request.param].termination = False
tdc.chan[request.param].timestamp_mode = "post" tdc.chan[request.param].timestamp_mode = "post"
tdc.chan[request.param].flush() tdc.chan[request.param].flush()
tdc.chan[request.param].enable = True
tdc.chan[request.param].coalescing_timeout = 1 tdc.chan[request.param].coalescing_timeout = 1
tdc.whiterabbit_mode = False tdc.whiterabbit_mode = False
tdc.time = FmcTdcTime(0, 0, 0, 0, 0) tdc.time = FmcTdcTime(0, 0, 0, 0, 0)
tdc.chan[request.param].enable = True
yield tdc.chan[request.param] yield tdc.chan[request.param]
class TestFmctdcAcquisition(object): class TestFmctdcAcquisition(object):
......
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