diff --git a/script/device/Mythen.py b/script/device/Mythen.py index 3b26399..e320cee 100644 --- a/script/device/Mythen.py +++ b/script/device/Mythen.py @@ -1,6 +1,6 @@ -class Mythen(DeviceBase): +class Mythen(DeviceBase, Readable): def __init__(self, name, prefix): DeviceBase.__init__(self, name) self.prefix = prefix @@ -50,5 +50,8 @@ class Mythen(DeviceBase): self.get_total_counts() self.is_acquiring() + def read(self): + return self.get_total_counts() + add_device( Mythen("mythen", "X04SA-ES2-SD1"), True)