Script execution

This commit is contained in:
sfop
2016-08-29 19:27:51 +02:00
parent 57a1633ec5
commit 57a4490dd0

View File

@@ -14,11 +14,13 @@ LASER_SETTLING_TIME = 0.1
def laser_on():
print "Laser On"
caput("SIN-TIMAST-TMA:Beam-Las-Delay-Sel", 0)
caput("SIN-TIMAST-TMA:Beam-Apply-Cmd.PROC", 1)
time.sleep(LASER_SETTLING_TIME)
def laser_off():
print "Laser Off"
caput("SIN-TIMAST-TMA:Beam-Las-Delay-Sel", 1)
caput("SIN-TIMAST-TMA:Beam-Apply-Cmd.PROC", 1)
time.sleep(LASER_SETTLING_TIME)