Commit b73343a1 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

counter: fixed stop sampling counter

parent cf811077
......@@ -146,7 +146,8 @@ class SamplingCounterAcquisitionDevice(BaseCounterAcquisitionDevice):
def reading(self):
while self._nb_acq_points < self.npoints:
while not self._stop_flag and \
self._nb_acq_points < self.npoints:
# trigger wait
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