syntax erro correction

This commit is contained in:
gac-x07mb
2024-10-16 17:39:35 +02:00
committed by wakonig_k
parent 2e93a0d811
commit e10be3e9bf
2 changed files with 28 additions and 2 deletions

View File

@ -391,3 +391,23 @@ falcon_hdf5:
#
# END FALCON with HDF5
#
#
# falcon without hdf5
#
falcon_hdf5:
description: Falcon detector x-ray fluoresence with hdf5 plugin from device class phoenix_bec.devices. falcon_phoenix.FalconPhoenix
deviceClass: phoenix_bec.devices.falcon_phoenix.FalconPhoenix
deviceConfig:
prefix: 'X07MB-SITORO:'
deviceTags:
- phoenix
- falcon
- with hdf5
- phoenix_falcon.yaml
onFailure: buffer
enabled: true
readoutPriority: async
softwareTrigger: false
#
# END FALCON with HDF5
#

View File

@ -42,7 +42,8 @@ CHANGES LOG and
"""
EpicsDXPFalcon(Device):
import enum
import threading
import time
@ -60,7 +61,12 @@ logger = bec_logger.logger
class FalconError(Exception):
hdf5 = Cpt(FalconHDF5Plugins, "HDF1:")
"""Base class for exceptions in this module."""
class FalconTimeoutError(FalconError):
"""Raised when the Falcon does not respond in time."""
class DetectorState(enum.IntEnum):
"""Detector states for Falcon detector"""