Commit 4604d7e8 authored by Vincent Michel's avatar Vincent Michel
Browse files

Fix hard-coded channel dtype and shape in BaseCounterAcquisitionDevice

parent 212623c7
......@@ -67,7 +67,7 @@ class BaseCounterAcquisitionDevice(AcquisitionDevice):
self.__grouped_read_counters_list.append(counter)
self.channels.append(AcquisitionChannel(
counter.name, numpy.double, ()))
counter.name, counter.dtype, counter.shape)
def _emit_new_data(self, data):
self.channels.update_from_iterable(data)
......
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