Script execution
This commit is contained in:
@@ -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:")
|
||||
|
||||
Reference in New Issue
Block a user