added lots of .py

This commit is contained in:
gac-alvra
2023-10-23 18:49:28 +02:00
parent 56327ce073
commit fa2caeff3e
24 changed files with 1771 additions and 0 deletions

16
dioderata/dark_light.py Executable file
View 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')