syntax erro correction
This commit is contained in:
@ -391,3 +391,23 @@ falcon_hdf5:
|
|||||||
#
|
#
|
||||||
# END FALCON with 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
|
||||||
|
#
|
@ -42,7 +42,8 @@ CHANGES LOG and
|
|||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
EpicsDXPFalcon(Device):
|
|
||||||
|
import enum
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
|
|
||||||
@ -60,7 +61,12 @@ logger = bec_logger.logger
|
|||||||
|
|
||||||
|
|
||||||
class FalconError(Exception):
|
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):
|
class DetectorState(enum.IntEnum):
|
||||||
"""Detector states for Falcon detector"""
|
"""Detector states for Falcon detector"""
|
||||||
|
Reference in New Issue
Block a user