Package gda.device.detector
Class HardwareTriggeredNXDetectorWithReadoutTimeAndVariableCollectionTime
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.scannable.ScannableBase
gda.device.detector.DetectorBase
gda.device.detector.NXDetector
gda.device.detector.HardwareTriggeredNXDetector
gda.device.detector.HardwareTriggeredNXDetectorWithReadoutTime
gda.device.detector.HardwareTriggeredNXDetectorWithReadoutTimeAndVariableCollectionTime
- All Implemented Interfaces:
Detector,HardwareTriggerableDetector,HardwareTriggeredDetector,NexusDetector,NXPluginDetector,Device,Scannable,PositionCallableProvider<NexusTreeProvider>,VariableCollectionTimeDetector,Configurable,Findable,gda.observable.IObservable,DetectorWithReadoutTime,Serializable,org.springframework.beans.factory.InitializingBean
public class HardwareTriggeredNXDetectorWithReadoutTimeAndVariableCollectionTime
extends HardwareTriggeredNXDetectorWithReadoutTime
implements VariableCollectionTimeDetector
- See Also:
-
Field Summary
Fields inherited from class gda.device.detector.NXDetector
lastReadoutValue, UNSUPPORTED_PART_OF_SCANNABLE_INTERFACE, UNSUPPORTED_SET_FUNCTIONFields inherited from class gda.device.detector.DetectorBase
collectionTimeFields inherited from class gda.device.scannable.ScannableBase
__doc__, DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_FORMAT, extraNames, inputNames, level, outputFormatFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the time, in seconds, the detector collects for during the next call to collectData()double[]Get the profile of collection times used for successive calls toDetector.collectData()or in a continuous scan.voidsetCollectionTime(double collectionTime) Sets the collection time, in seconds, to be used during the next call of collectData.voidsetCollectionTimeProfile(double[] times) Set a profile of collection times used for successive calls toDetector.collectData()or in a continuous scan.Methods inherited from class gda.device.detector.HardwareTriggeredNXDetectorWithReadoutTime
getReadOutTime, setReadOutTimeMethods inherited from class gda.device.detector.HardwareTriggeredNXDetector
collectData, getHardwareTriggerProvider, getNumberImagesToCollect, integratesBetweenPoints, isHardwareTriggering, prepareCollectionStrategyAtScanStart, readout, setHardwareTriggering, setHardwareTriggerProvider, setNumberImagesToCollectMethods inherited from class gda.device.detector.NXDetector
__getattr__, __str__, afterPropertiesSet, asynchronousMoveTo, atCommandFailure, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, createsOwnFiles, endCollection, getAdditionalPluginList, getCollectionStrategy, getExtraNames, getFileStructure, getInputNames, getOutputFormat, getPlugin, getPluginList, getPluginMap, getPosition, getPositionCallable, getStatus, isAddCollectTimeMs, isBusy, prepareForCollection, setAddCollectTimeMs, setAdditionalPluginList, setCollectionStrategy, setExtraNames, setInputNames, setOutputFormat, stop, waitWhileBusyMethods inherited from class gda.device.detector.DetectorBase
checkPositionValid, getDataDimensions, getDescription, getDetectorID, getDetectorType, toFormattedStringMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, externalToInternal, getLevel, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, rawAsynchronousMoveTo, rawGetPosition, setLevel, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, toString, validateScannable, valueUnavailableString, waitWhileBusyMethods 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
configure, isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Detector
collectData, createsOwnFiles, endCollection, getDataDimensions, getDescription, getDetectorID, getDetectorType, getFileStructure, getStatus, prepareForCollection, waitWhileBusyMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, isBusy, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString
-
Constructor Details
-
HardwareTriggeredNXDetectorWithReadoutTimeAndVariableCollectionTime
public HardwareTriggeredNXDetectorWithReadoutTimeAndVariableCollectionTime()
-
-
Method Details
-
setCollectionTimeProfile
Description copied from interface:VariableCollectionTimeDetectorSet a profile of collection times used for successive calls toDetector.collectData()or in a continuous scan.- Specified by:
setCollectionTimeProfilein interfaceVariableCollectionTimeDetector- Parameters:
times- times in seconds or null- Throws:
DeviceException
-
getCollectionTimeProfile
Description copied from interface:VariableCollectionTimeDetectorGet the profile of collection times used for successive calls toDetector.collectData()or in a continuous scan.- Specified by:
getCollectionTimeProfilein interfaceVariableCollectionTimeDetector- Throws:
DeviceException- times in seconds or null
-
getCollectionTime
Description copied from interface:DetectorReturns the time, in seconds, the detector collects for during the next call to collectData()- Specified by:
getCollectionTimein interfaceDetector- Overrides:
getCollectionTimein classDetectorBase- Returns:
- double
- Throws:
DeviceException
-
setCollectionTime
Description copied from interface:DetectorSets the collection time, in seconds, to be used during the next call of collectData.- Specified by:
setCollectionTimein interfaceDetector- Overrides:
setCollectionTimein classDetectorBase- Parameters:
collectionTime- the collection time in seconds- Throws:
DeviceException
-