Files
HUSH/comet.py
2024-02-08 14:11:50 +01:00

18 lines
272 B
Python

import time
import PyCafe
cafe = PyCafe.CyCafe()
cafe.monitor("MMAC3:STR:2")
pvd = cafe.getPVCache("MMAC3:STR:2")
pvd.show()
for i in range(0,1000000):
pvd = cafe.getPVCache("MMAC3:STR:2")
if pvd.value[0] < 0.003:
pvd.show()
time.sleep(0.25)