Package uk.ac.gda.devices.odin.control
Class OdinDetectorEigerThresholdScan
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.OdinDetectorEigerThresholdScan
- All Implemented Interfaces:
Device,Configurable,Findable,gda.observable.IObservable,OdinDetectorController,OdinEigerDetectorController
public class OdinDetectorEigerThresholdScan
extends OdinDetectorDecorator
implements OdinEigerDetectorController
-
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).voidvoidsetManualTrigger(boolean enable) Set trigger mode to manualvoidsetNumTriggers(int triggers) voidStart the camera acquiringMethods inherited from class uk.ac.gda.devices.odin.control.OdinDetectorDecorator
endRecording, getAcquirePeriod, getAcquireTime, getLatestFilename, getNumFramesCaptured, getNumImages, getStatus, prepareDataWriter, setAcquirePeriod, setAcquireTime, setCompressionMode, setDataOutput, setNumImages, setOffsetAndUid, startRecording, stopCollection, waitForWrittenFrames, waitWhileAcquiring, 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, reconfigureMethods inherited from interface uk.ac.gda.devices.odin.control.OdinDetectorController
endRecording, getAcquirePeriod, getAcquireTime, getLatestFilename, getNumFramesCaptured, getNumImages, getStatus, prepareDataWriter, setAcquirePeriod, setAcquireTime, setCompressionMode, setDataOutput, setNumImages, setOffsetAndUid, startRecording, stopCollection, waitForWrittenFrames, waitWhileAcquiring, waitWhileWriting
-
Constructor Details
-
OdinDetectorEigerThresholdScan
-
-
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
-
getBasePv
-
setBasePv
-
setManualTrigger
public void setManualTrigger(boolean enable) Description copied from interface:OdinEigerDetectorControllerSet trigger mode to manual- Specified by:
setManualTriggerin interfaceOdinEigerDetectorController
-
setNumTriggers
public void setNumTriggers(int triggers) - Specified by:
setNumTriggersin interfaceOdinEigerDetectorController
-