Commit 6300a5b1 authored by Federico Vaga's avatar Federico Vaga

tst: reset time when starting a new test

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 3ac110f4
......@@ -9,7 +9,7 @@ import select
import time
import sys
import os
from PyFmcTdc import FmcTdc
from PyFmcTdc import FmcTdc, FmcTdcTime
TDC_FD_CABLING = [1, 2, 3, 4, 4]
......@@ -27,6 +27,8 @@ def fmctdc_chan(request):
tdc.chan[request.param].flush()
tdc.chan[request.param].enable = True
tdc.chan[request.param].coalescing_timeout = 1
tdc.whiterabbit_mode = False
tdc.time = FmcTdcTime(0, 0, 0, 0, 0)
yield tdc.chan[request.param]
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