Script execution

This commit is contained in:
gac-x03da
2018-09-19 13:57:16 +02:00
parent 3a328948a1
commit 8805ce8690

View File

@@ -22,7 +22,16 @@ if caget('X03DA-OP-VG7:OPEN') == 'Not_Open':
caput('X03DA-OP-ST1:WT_SET_CLOSE',0) #
caput('X03DA-OP-ST1:WT_SET_OPEN',1) # open ES Shutter
time.sleep(5.0)
print "check that shutter is open..."
while True:
if caget('X03DA-OP-ST1:OPEN') == 'Open':
break
time.sleep(0.5)
print "OK."
time.sleep(3.0)
#############################################
caput('X03DA-OTF:E1', Estart)