Script execution

This commit is contained in:
gac-x04sa
2018-10-30 11:00:49 +01:00
parent 42489091f2
commit 6f36671df7
+1 -2
View File
@@ -151,7 +151,7 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType):
# Then wait for exposure time to elapse.
# (PIX_EXPOSE is in milliseconds!)
#
while time.time() <= self.PIX_EXP_START_TIME + (expose * 1000) :
while time.time() <= self.PIX_EXP_START_TIME + expose:
time.sleep(0.05)
#
@@ -173,7 +173,6 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType):
if stat in ("Undefined", "Time-out", "Error"):
raise Exception ("Invalid PIX status:", stat)
time.sleep (0.05)
if sms_flag == 1:
notify ("Pixel detector seems to have recovered from error.")