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