Files
HUSH/comet.py
2024-02-06 16:48:44 +01:00

18 lines
271 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,100000):
pvd = cafe.getPVCache("MMAC3:STR:2")
if pvd.value[0] < 0.003:
pvd.show()
time.sleep(0.25)