added lots of .py
This commit is contained in:
16
dioderata/dark_light.py
Executable file
16
dioderata/dark_light.py
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import epics
|
||||
import time
|
||||
|
||||
# config
|
||||
darkPV = epics.PV('SLAAR03-LTIM-PDLY:DARKSHOT.PROC')
|
||||
normalPV = epics.PV('SLAAR03-LTIM-PDLY:NORMAL.PROC')
|
||||
|
||||
while True:
|
||||
time.sleep(20)
|
||||
darkPV.put(1)
|
||||
print('dark')
|
||||
time.sleep(20)
|
||||
normalPV.put(1)
|
||||
print('light')
|
Reference in New Issue
Block a user