Package uk.ac.gda.devices.odin.control
Class OdinDetectorEiger
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
uk.ac.gda.devices.odin.control.OdinDetectorDecorator
uk.ac.gda.devices.odin.control.OdinDetectorEiger
- All Implemented Interfaces:
Device,Configurable,Findable,gda.observable.IObservable,OdinDetectorController
-
Field Summary
Fields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault 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.voidprepareCamera(int frames, double requestedLiveTime, double requestedDeadTime, String imageMode, String triggerMode) Get camera ready for acquisition e.g set the exposure time and wait time (in ms).voidprepareDataWriter(int frames) Prepare the Odin Data writer this may include setting the number of expected frames or ensuring that the compression settings are as requiredvoidvoidsetOffsetAndUid(int offset, int uid) Set the offet and uid for the filewriter.voidStart the camera acquiringvoidWait until the detector acquisition (exposure) is 'Done'Methods inherited from class uk.ac.gda.devices.odin.control.OdinDetectorDecorator
endRecording, getAcquirePeriod, getAcquireTime, getLatestFilename, getNumFramesCaptured, getNumImages, getStatus, setAcquirePeriod, setAcquireTime, setCompressionMode, setDataOutput, setNumImages, startRecording, stopCollection, waitForWrittenFrames, waitWhileWritingMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigured, reconfigure
-
Constructor Details
-
OdinDetectorEiger
-
-
Method Details
-
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
-
startCollection
Description copied from interface:OdinDetectorControllerStart the camera acquiring- Specified by:
startCollectionin interfaceOdinDetectorController- Overrides:
startCollectionin classOdinDetectorDecorator- Throws:
DeviceException
-
prepareCamera
public void prepareCamera(int frames, double requestedLiveTime, double requestedDeadTime, String imageMode, String triggerMode) throws DeviceException Description copied from interface:OdinDetectorControllerGet camera ready for acquisition e.g set the exposure time and wait time (in ms). Things that only need to be set at the beginning of the scan- Specified by:
prepareCamerain interfaceOdinDetectorController- Overrides:
prepareCamerain classOdinDetectorDecorator- Throws:
DeviceException
-
prepareDataWriter
Description copied from interface:OdinDetectorControllerPrepare the Odin Data writer this may include setting the number of expected frames or ensuring that the compression settings are as required- Specified by:
prepareDataWriterin interfaceOdinDetectorController- Overrides:
prepareDataWriterin classOdinDetectorDecorator- Parameters:
frames- number of frames Odin Data will be expecting- Throws:
DeviceException
-
setOffsetAndUid
Description copied from interface:OdinDetectorControllerSet the offet and uid for the filewriter. This may be required between frames depending on collection strategy.- Specified by:
setOffsetAndUidin interfaceOdinDetectorController- Overrides:
setOffsetAndUidin classOdinDetectorDecorator- Parameters:
offset-uid-- Throws:
DeviceException
-
waitWhileAcquiring
public void waitWhileAcquiring()Description copied from interface:OdinDetectorControllerWait until the detector acquisition (exposure) is 'Done'- Specified by:
waitWhileAcquiringin interfaceOdinDetectorController- Overrides:
waitWhileAcquiringin classOdinDetectorDecorator
-
getBasePv
-
setBasePv
-