Files
maloja/scripts2/monitor_interrupt.py
T
2026-08-21 21:40:30 +02:00

17 lines
281 B
Python
Executable File

import numpy as np
import epics
from epics import caget, caput, cainfo
threshold = 1e-6
monitor_ch = 'SATES21-VM-VT4010:PRESSURE'
current_ch = caget(monitor_ch)
while current_ch > 1e-6:
current_ch = caget(monitor_ch)
print('value checked and it is : ' , current_ch)