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