Package uk.ac.gda.server.ncd.subdetector
Class NcdEpicsEiger
java.lang.Object
gda.factory.ConfigurableBase
uk.ac.gda.server.ncd.subdetector.NcdEpicsEiger
- All Implemented Interfaces:
Configurable,NcdEigerController
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRun any actions that should be run after a scan is completevoidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.voidStop the data writerint[]Get the dimensions of each imageintGet the full path to the most recent file writtenvoidvoidsetDataOutput(String directory, String filePrefix) voidsetEiger_timeout(int eiger_timeout) voidsetExposures(int frameCount) voidsetExposureTimes(int frames, double requestedLiveTime, double requestedDeadTime) Set the exposure time and wait time in msvoidsetFileSuffix(String fileSuffix) voidsetFileWritingTimeout(int ms) voidsetImageMode(String image) voidsetReshapeCommand(String reshapeCommand) voidsetScanDimensions(int[] dims) Set the dimensions of the scanvoidsetTriggerMode(String trigger) voidStart the camera acquiringvoidStart the data writervoidStop the camera acquiringtoString()Methods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
NcdEpicsEiger
public NcdEpicsEiger()
-
-
Method Details
-
getDataDimensions
Description copied from interface:NcdEigerControllerGet the dimensions of each image- Specified by:
getDataDimensionsin interfaceNcdEigerController- Throws:
DeviceException- If image size cannot be read
-
startCollection
Description copied from interface:NcdEigerControllerStart the camera acquiring- Specified by:
startCollectionin interfaceNcdEigerController- Throws:
DeviceException
-
stopCollection
Description copied from interface:NcdEigerControllerStop the camera acquiring- Specified by:
stopCollectionin interfaceNcdEigerController- Throws:
DeviceException
-
configure
Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
endRecording
Description copied from interface:NcdEigerControllerStop the data writer- Specified by:
endRecordingin interfaceNcdEigerController- Throws:
DeviceException
-
atScanEnd
Description copied from interface:NcdEigerControllerRun any actions that should be run after a scan is complete- Specified by:
atScanEndin interfaceNcdEigerController- Throws:
DeviceException
-
startRecording
Description copied from interface:NcdEigerControllerStart the data writer- Specified by:
startRecordingin interfaceNcdEigerController- Throws:
DeviceException
-
setDataOutput
- Specified by:
setDataOutputin interfaceNcdEigerController- Throws:
DeviceException
-
setExposures
- Throws:
DeviceException
-
setScanDimensions
Description copied from interface:NcdEigerControllerSet the dimensions of the scan- Specified by:
setScanDimensionsin interfaceNcdEigerController- Throws:
DeviceException
-
setExposureTimes
public void setExposureTimes(int frames, double requestedLiveTime, double requestedDeadTime) throws DeviceException Description copied from interface:NcdEigerControllerSet the exposure time and wait time in ms- Specified by:
setExposureTimesin interfaceNcdEigerController- Throws:
DeviceException
-
setTriggerMode
- Throws:
DeviceException
-
setImageMode
- Throws:
DeviceException
-
getBasePv
-
setBasePv
-
toString
-
getLastFile
Description copied from interface:NcdEigerControllerGet the full path to the most recent file written- Specified by:
getLastFilein interfaceNcdEigerController
-
getFileSuffix
-
setFileSuffix
-
getEiger_timeout
public int getEiger_timeout() -
setEiger_timeout
public void setEiger_timeout(int eiger_timeout) -
getReshapeCommand
-
setReshapeCommand
-
setFileWritingTimeout
public void setFileWritingTimeout(int ms)
-