Script execution

This commit is contained in:
gac-x03da
2018-09-19 12:59:10 +02:00
parent 241b8aa021
commit 4e6219d9d0

View File

@@ -1,8 +1,15 @@
Estart = 1291.0
Estop = 1292.0
OTFtime = 1.0
caput('X03DA-OTF:E1', Estart)
caput('X03DA-OTF:E2', Estop)
caput('X03DA-OTF:TIME',OTFtime)
#caput('X03DA-OTF:RUN','START')
while True:
ret=caget('X03DA-OTF:RUN')
if ret == 'STOP':
break
ret=caget('X03DA-OTF:RUN')
if ret == 'STOP':
print ";sdlfdkj;lk"