diff --git a/script/device/Pixel.py b/script/device/Pixel.py index 8e1bb31..f802d22 100644 --- a/script/device/Pixel.py +++ b/script/device/Pixel.py @@ -100,9 +100,12 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType): return status in ["Ready0", "Ready1"] def set_path(self, patha, pathb=""): + if not patha.endswith("/"): + patha=patha + "/" if pathb!="": - if not patha.endswith("/"): - patha=patha + "/" + if not pathb.endswith("/"): + pathb=pathb + "/" + caput(self.prefix + ":PATHa", patha) caput(self.prefix + ":PATHb", pathb) @@ -176,7 +179,9 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType): if sms_flag == 1: notify ("Pixel detector seems to have recovered from error.") - + + def logwrite(self): + pass def show(self): print ("\nThe current pixel detector settings are:")