Package gda.device.detector.xmap
Class XmapwithSlaveMode
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.scannable.ScannableBase
gda.device.detector.DetectorBase
gda.device.detector.xmap.Xmap
gda.device.detector.xmap.XmapwithSlaveMode
- All Implemented Interfaces:
Detector,Device,Scannable,XmapDetector,Configurable,Findable,gda.observable.IObservable,gda.observable.IObserver,Serializable,DetectorWithConfigurationFile
- Direct Known Subclasses:
NexusXmap
For use when a detector readout using an Xmap ADC is normally triggered externally e.g. by a TFG and so needs a slave
mode
- See Also:
-
Field Summary
Fields inherited from class gda.device.detector.xmap.Xmap
channelLabels, controller, elapsedRealTimeValue, eventProcessingTimes, saveRawSpectrum, tfg, vortexParametersFields 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
Methods inherited from class gda.device.detector.xmap.Xmap
atCommandFailure, atScanEnd, atScanStart, clear, clearAndStart, configure, configureChannelLabels, configureRegionsOfInterest, createsOwnFiles, getAcquisitionTime, getAttribute, getChannelLabels, getCollectionTime, getConfigFileName, getController, getCountRates, getData, getData, getDataDimensions, getDeadTimeCorrectedROICounts, getDeadtimeCorrectionFactors, getDescription, getDetectorID, getDetectorType, getEventProcessingTimes, getK, getName, getNumberOfBins, getNumberOfMca, getNumberOfROIs, getReadRate, getRealTime, getROICounts, getROIsSum, getStatus, getStatusRate, getTfg, getXmapControllerName, isSaveRawSpectrum, loadConfigurationFromFile, readout, readoutScalerData, readoutScalers, reconfigure, setAcquisitionTime, setCollectionTime, setConfigFileName, setController, setEventProcessingTimes, setName, setNthROI, setNumberOfBins, setNumberOfMca, setNumberOfROIs, setParameters, setParameters, setReadRate, setReadRate, setROI, setROIs, setSaveRawSpectrum, setStatusRate, setStatusRate, setTfg, setXmapControllerName, start, stop, update, waitWhileControllerBusyMethods inherited from class gda.device.detector.DetectorBase
asynchronousMoveTo, checkPositionValid, endCollection, getPosition, isBusy, prepareForCollection, toFormattedStringMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanLineEnd, atScanLineStart, externalToInternal, getExtraNames, getInputNames, getLevel, getOutputFormat, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, rawAsynchronousMoveTo, rawGetPosition, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, toString, validateScannable, valueUnavailableString, waitWhileBusy, waitWhileBusyMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfiguredMethods inherited from interface gda.device.Detector
endCollection, getFileStructure, prepareForCollection, waitWhileBusyMethods inherited from interface gda.device.Device
close, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
asynchronousMoveTo, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanLineEnd, atScanLineStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, isBusy, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, toFormattedString
-
Constructor Details
-
XmapwithSlaveMode
public XmapwithSlaveMode()
-
-
Method Details
-
collectData
Description copied from interface:DetectorTells the detector to begin to collect a set of data, then returns immediately. Should cause the hardware to start collecting immediately: if there is any delay then detectors used in the same scan would collect over different times when beam conditions may differ.- Specified by:
collectDatain interfaceDetector- Overrides:
collectDatain classXmap- Throws:
DeviceException
-
isSlave
public boolean isSlave()- Returns:
- Returns the slave.
-
setSlave
public void setSlave(boolean slave) - Parameters:
slave- The slave to set.
-