Commit 22a0f6a7 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

counters: fixed multi-start initialization.

parent 5336a948
...@@ -256,12 +256,11 @@ class IntegratingCounterAcquisitionDevice(BaseCounterAcquisitionDevice): ...@@ -256,12 +256,11 @@ class IntegratingCounterAcquisitionDevice(BaseCounterAcquisitionDevice):
self._AcquisitionDevice__start_once = p.start_once self._AcquisitionDevice__start_once = p.start_once
def prepare(self): def prepare(self):
self.device.prepare(*self.grouped_read_counters)
def start(self):
self._nb_acq_points = 0 self._nb_acq_points = 0
self._stop_flag = False self._stop_flag = False
self.device.prepare(*self.grouped_read_counters)
def start(self):
self.device.start(*self.grouped_read_counters) self.device.start(*self.grouped_read_counters)
def stop(self): def stop(self):
......
Supports Markdown
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