Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
from epics import caput, caget
from itertools import count
for j in count():
try:
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:NDArrayPort_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:PortName_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:PortName_RBV')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:NDArrayPort_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:NDArrayPort_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Magick1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}HDF1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}JPEG1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}TIFF1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}netCDF1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Trans1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}ROI1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Over1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Proc1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}CC1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}Stats1:EnableCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks', 1.0)
ret = caget('XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}cam1:ArrayCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks', 'Yes')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:BlockingCallbacks_RBV')
caput('XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks', 'Enabled')
ret = caget('XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks_RBV')
if ret is None:
raise TimeoutError('failed on XF:31IDA-BI{Cam:Tbl}image1:EnableCallbacks_RBV')
except TimeoutError:
print(f'failed on iteration {j}')
raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment