Package gda.device.detector.pixium
Class PixiumNXDetector
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.pixium.PixiumNXDetector
- All Implemented Interfaces:
Detector,NexusDetector,NXPluginDetector,IPixiumNXDetector,Device,Scannable,PositionCallableProvider<NexusTreeProvider>,Configurable,Findable,gda.observable.IObservable,Serializable,org.springframework.beans.factory.InitializingBean
- 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.detector.pixium.IPixiumNXDetector
ACQUIRE, BASE_ACQUIRE_PERIOD, BASE_ACQUIRE_PERIOD_RBV, BASE_EXPOSURE, BASE_EXPOSURE_RBV, CALIBRATE, CALIBRATE_RBV, CALIBRATION_REQUIRED_RBV, DETECTOR_STATE_RBV, EARLY_FRAMES, EARLY_FRAMES_RBV, EXPOSURES_PER_IMAGE, EXPOSURES_PER_IMAGE_RBV, NUM_IMAGES, NUM_IMAGES_RBV, PU_MODE, PU_MODE_RBVFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacquire(double collectionTime) voidacquire(double collectionTime, int numImages) voidvoidCalled on every Scannable at the end of every data point, for scans which are broken down into individual points (i.e.voidCalled on every Scannable at every data point, for scans which are broken down into individual points (i.e.voidCalled for every Scannable at the end of a group of nested scans (or a single scan if that is the case).voidCalled for every Scannable at the start of a group of nested scans (or a single scan if that is the case)voidvoidvoiddoubledoubleintintintintintString[]voidvoidbooleanvoidintintvoidsetBaseAcquirePeriod(double acqTime) voidsetBaseAcquirePeriodExt(double acqTime) voidsetBaseExposure(double expTime) voidsetBaseExposureExt(double expTime) voidsetEventAdmin(Scriptcontroller eventAdmin) voidsetExposuresPerImage(int numExp) voidsetExposuresPerImageExt(int numExp) voidsetFastshutter(Scannable fastshutter) voidsetNumImages(int numImg) voidsetNumImagesExt(int numImg) voidvoidsetPUMode(int mode) voidsetPUModeExt(int mode) voidsetShutterIntForClose(int shutterIntForClose) voidsetShutterIntForOpen(int shutterIntForOpen) voidsetShutterPVName(String shutterPVName) voidsetUseShutter(boolean useShutter) voidsetWindowsSubString(String windowsSubString) voidstop()Stop the current move/operation.voidvoidwaitForIntPVValEqualTo(PV<Integer> pv, int valWaitedFor, double timeoutSec) voidwaitForIntPVValNotEqualTo(PV<Integer> pv, int valWaitedFor, double timeoutSec) voidwaitForShutterPos(int shutterPosWaitedFor, double timeoutSec) Methods inherited from class gda.device.detector.NXDetector
__getattr__, __str__, asynchronousMoveTo, atCommandFailure, atScanLineEnd, atScanLineStart, collectData, createsOwnFiles, endCollection, getAdditionalPluginList, getCollectionStrategy, getExtraNames, getFileStructure, getInputNames, getOutputFormat, getPlugin, getPluginList, getPluginMap, getPosition, getPositionCallable, getStatus, isAddCollectTimeMs, isBusy, prepareCollectionStrategyAtScanStart, prepareForCollection, readout, setAddCollectTimeMs, setAdditionalPluginList, setCollectionStrategy, setExtraNames, setInputNames, setOutputFormat, waitWhileBusyMethods inherited from class gda.device.detector.DetectorBase
checkPositionValid, getCollectionTime, getDataDimensions, getDescription, getDetectorID, getDetectorType, setCollectionTime, toFormattedStringMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, atLevelEnd, atLevelMoveStart, atLevelStart, 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
getCollectionTime, getDataDimensions, getDescription, getDetectorID, getDetectorType, setCollectionTimeMethods 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
atLevelEnd, atLevelMoveStart, atLevelStart, checkPositionValid, getLevel, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, moveTo, setLevel, setScanMetadataAttribute, setScanMetadataAttributes, toFormattedString
-
Constructor Details
-
PixiumNXDetector
public PixiumNXDetector()
-
-
Method Details
-
getShutterPVName
-
setShutterPVName
-
getShutterIntForClose
public int getShutterIntForClose() -
setShutterIntForClose
public void setShutterIntForClose(int shutterIntForClose) -
getShutterIntForOpen
public int getShutterIntForOpen() -
setShutterIntForOpen
public void setShutterIntForOpen(int shutterIntForOpen) -
isUseShutter
public boolean isUseShutter() -
setUseShutter
public void setUseShutter(boolean useShutter) -
getPrefix
-
setPrefix
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classNXDetector
-
atScanStart
Description copied from class:ScannableBaseCalled for every Scannable at the start of a group of nested scans (or a single scan if that is the case) Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.- Specified by:
atScanStartin interfaceScannable- Overrides:
atScanStartin classNXDetector- Throws:
DeviceException- See Also:
-
atPointStart
Description copied from class:ScannableBaseCalled on every Scannable at every data point, for scans which are broken down into individual points (i.e. non-continuous scans) Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.- Specified by:
atPointStartin interfaceScannable- Overrides:
atPointStartin classScannableBase- Throws:
DeviceException- See Also:
-
atPointEnd
Description copied from class:ScannableBaseCalled on every Scannable at the end of every data point, for scans which are broken down into individual points (i.e. non-continous scans) Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.- Specified by:
atPointEndin interfaceScannable- Overrides:
atPointEndin classScannableBase- Throws:
DeviceException- See Also:
-
atScanEnd
Description copied from class:ScannableBaseCalled for every Scannable at the end of a group of nested scans (or a single scan if that is the case).Note that this is only called if the Scan finishes normally, or has been requested to finish early. This will not be called if the scan finishes due to an exception of any kind. See
Scannable.atCommandFailure()Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.- Specified by:
atScanEndin interfaceScannable- Overrides:
atScanEndin classNXDetector- Throws:
DeviceException- See Also:
-
includeEarlyFrames
- Specified by:
includeEarlyFramesin interfaceIPixiumNXDetector- Throws:
IOExceptionDeviceException
-
includeEarlyFramesExt
- Throws:
IOExceptionDeviceException
-
excludeEarlyFrames
- Specified by:
excludeEarlyFramesin interfaceIPixiumNXDetector- Throws:
Exception
-
excludeEarlyFramesExt
- Throws:
Exception
-
reportEarlyFrames
- Throws:
IOException
-
reportEarlyFramesExt
- Throws:
IOException
-
setBaseExposure
- Specified by:
setBaseExposurein interfaceIPixiumNXDetector- Throws:
Exception
-
setBaseExposureExt
- Throws:
Exception
-
getBaseExposure
- Specified by:
getBaseExposurein interfaceIPixiumNXDetector- Throws:
Exception
-
setBaseAcquirePeriod
- Specified by:
setBaseAcquirePeriodin interfaceIPixiumNXDetector- Throws:
Exception
-
setBaseAcquirePeriodExt
- Throws:
Exception
-
getBaseAcquirePeriod
- Specified by:
getBaseAcquirePeriodin interfaceIPixiumNXDetector- Throws:
Exception
-
setExposuresPerImage
- Specified by:
setExposuresPerImagein interfaceIPixiumNXDetector- Throws:
Exception
-
setExposuresPerImageExt
- Throws:
Exception
-
getExposuresPerImage
- Specified by:
getExposuresPerImagein interfaceIPixiumNXDetector- Throws:
Exception
-
setNumImages
- Specified by:
setNumImagesin interfaceIPixiumNXDetector- Throws:
Exception
-
setNumImagesExt
- Throws:
Exception
-
getNumImages
- Specified by:
getNumImagesin interfaceIPixiumNXDetector- Throws:
Exception
-
setPUMode
- Specified by:
setPUModein interfaceIPixiumNXDetector- Throws:
Exception
-
setPUModeExt
- Throws:
Exception
-
getPUMode
- Specified by:
getPUModein interfaceIPixiumNXDetector- Throws:
Exception
-
reportAllowablePUModes
public void reportAllowablePUModes() -
calibrate
- Specified by:
calibratein interfaceIPixiumNXDetector- Throws:
Exception
-
waitForIntPVValEqualTo
public void waitForIntPVValEqualTo(PV<Integer> pv, int valWaitedFor, double timeoutSec) throws DeviceException - Throws:
DeviceException
-
waitForIntPVValNotEqualTo
public void waitForIntPVValNotEqualTo(PV<Integer> pv, int valWaitedFor, double timeoutSec) throws DeviceException - Throws:
DeviceException
-
waitForShutterPos
- Throws:
DeviceException
-
acquire
- Specified by:
acquirein interfaceIPixiumNXDetector- Throws:
Exception
-
acquire
- Specified by:
acquirein interfaceIPixiumNXDetector- Throws:
Exception
-
stop
Description copied from class:ScannableBaseStop the current move/operation. Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.- Specified by:
stopin interfaceIPixiumNXDetector- Specified by:
stopin interfaceScannable- Overrides:
stopin classNXDetector- Throws:
DeviceException- See Also:
-
stopAcquiring
- Throws:
Exception
-
setWindowsSubString
-
getWindowsSubString
-
getFastshutter
-
setFastshutter
-
getEventAdmin
-
setEventAdmin
-