From 3be9d605908e897f234e495df42d8603970ae0ca Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Thu, 18 Oct 2018 17:23:39 +0200 Subject: [PATCH] Script execution --- script/device/Mythen.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/device/Mythen.py b/script/device/Mythen.py index e320cee..2b41dde 100644 --- a/script/device/Mythen.py +++ b/script/device/Mythen.py @@ -45,6 +45,9 @@ class Mythen(DeviceBase, Readable): ret = caget( self.prefix + ":Stats5:Total_RBV", 'i') self.setCache(ret, None) return ret + + def get_status(self): + return caget(self.prefix + ":cam1:DetectorState_RBV") def doUpdate(self): self.get_total_counts()