Class GonioBase
- All Implemented Interfaces:
Device,Scannable,IScannableGroup,IScannableGroupNamed,Stoppable,Configurable,Findable,gda.observable.IObservable,gda.observable.IObserver,Gonio,GonioService,Assembly,CoordinatesMove,IndexMove,IndexPositioner
- Direct Known Subclasses:
DiffractometerBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface uk.ac.gda.component.beamline.gonio.GonioService
GonioService.Axis -
Field Summary
FieldsFields 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 TypeMethodDescriptionactivate()protected voidconditionalAddScannable(Assembly assembly, String name) voidDefault 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.moveOmega(double omega) moveTableX(double x) moveTableY(double y) moveTableZ(double z) moveX(double x) moveY(double y) moveZ(double z) park()readX()readY()readZ()voidRe-initialisation of values and states.voidsetScannableOmega(String scannableOmega) voidsetScannableTableX(String scannableTableX) voidsetScannableTableY(String scannableTableY) voidsetScannableTableZ(String scannableTableZ) voidsetScannableX(String scannableX) voidsetScannableY(String scannableY) voidsetScannableZ(String scannableZ) Methods inherited from class uk.ac.gda.component.model.core.AssemblyBase
addActionRule, addDefinedCoordinates, addDefinedCoordinates, addDevice, addGroupMemberByName, asynchronousMoveTo, asynchronousMoveToCoordinates, asynchronousMoveToDefined, asynchronousMoveToIndex, checkActionRules, checkAssemblies, checkAssemblies, checkMovementValid, clearConfiguration, convertPositionArrayToCoordinates, dispose, disposeSubAssemblies, getAdapter, getAllDevices, getCurrentCoordinates, getDefinedCoordinates, getDefinedCoordinatesNames, getDevice, getGroupMemberByName, getGroupMembersNames, getSubAssemblies, isAt, isAt, isAtIndex, isEnabled, isLockedToIndexPositions, isScannable, isScannableAt, isVisited, moveToCoordinates, moveToDefined, moveToIndex, raiseVeto, removeApprover, removeGroupMemberName, setDefinedCoordinates, setEnabled, setGroupMembersNamesWithArray, setGroupMembersNamesWithList, setVisited, toFormattedString, toString, updateCoordinatesMethods inherited from class gda.device.scannable.scannablegroup.ScannableGroupNamed
addGroupMember, getGroupMembersNamesAsArray, setGroupMembersNames, setGroupMembersNamesWithArrayMethods inherited from class gda.device.scannable.scannablegroup.ScannableGroup
__getattr__, addGroupMember, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, extractPositionsFromObject, getExtraNames, getGroupMember, getGroupMemberNames, getGroupMembers, getGroupMembersAsArray, getInputNames, getOutputFormat, getPosition, getUnits, isBusy, isDemandAllScannablePositions, removeGroupMemberByIndex, removeGroupMemberByScannable, setDemandAllScannablePositions, setExtraNames, setGroupMembers, setGroupMembersWithArray, setGroupMembersWithList, setInputNames, stop, update, waitWhileBusyMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, externalToInternal, getLevel, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, rawAsynchronousMoveTo, rawGetPosition, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, 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
isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface uk.ac.gda.component.model.api.Assembly
addActionRule, checkAssemblies, clearConfiguration, getAdapter, getAllDevices, getDevice, getSubAssemblies, isEnabledMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfiguredMethods inherited from interface uk.ac.gda.component.model.api.CoordinatesMove
asynchronousMoveToCoordinates, checkMovementValid, getCurrentCoordinates, getDefinedCoordinates, moveToCoordinatesMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface uk.ac.gda.component.beamline.gonio.GonioService
stopMethods inherited from interface uk.ac.gda.component.model.api.IndexMove
asynchronousMoveToDefined, asynchronousMoveToIndex, getDefinedCoordinatesNames, isAt, isAtIndex, moveToDefined, moveToIndexMethods inherited from interface uk.ac.gda.component.model.api.IndexPositioner
addDefinedCoordinates, isLockedToIndexPositions, setDefinedCoordinates, updateCoordinatesMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.scannable.scannablegroup.IScannableGroup
addGroupMember, addGroupMember, getGroupMemberNames, getGroupMembers, getGroupMembersAsArray, getUnits, removeGroupMemberByIndex, removeGroupMemberByScannable, setGroupMembers, setGroupMembersWithArray, setGroupMembersWithListMethods inherited from interface gda.device.scannable.scannablegroup.IScannableGroupNamed
addGroupMemberByName, getGroupMemberByName, getGroupMembersNames, getGroupMembersNamesAsArray, removeGroupMemberName, setGroupMembersNames, setGroupMembersNamesWithArray, setGroupMembersNamesWithArray, setGroupMembersNamesWithListMethods 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, waitWhileBusy
-
Field Details
-
INDEX_PARK
protected int INDEX_PARK -
INDEX_ACTIVE
protected int INDEX_ACTIVE
-
-
Constructor Details
-
GonioBase
public GonioBase()
-
-
Method Details
-
activate
- Specified by:
activatein interfaceGonioService- Throws:
DeviceException
-
conditionalAddScannable
- Throws:
FactoryException
-
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- Specified by:
configurein interfaceGonio- Overrides:
configurein classAssemblyBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
getAssembly
-
getScannableName
- Specified by:
getScannableNamein interfaceGonioService
-
getScannableOmega
- Specified by:
getScannableOmegain interfaceGonio
-
getScannableTableX
- Specified by:
getScannableTableXin interfaceGonio
-
getScannableTableY
- Specified by:
getScannableTableYin interfaceGonio
-
getScannableTableZ
- Specified by:
getScannableTableZin interfaceGonio
-
getScannableX
- Specified by:
getScannableXin interfaceGonio
-
getScannableY
- Specified by:
getScannableYin interfaceGonio
-
getScannableZ
- Specified by:
getScannableZin interfaceGonio
-
moveOmega
- Specified by:
moveOmegain interfaceGonioService- Throws:
DeviceException
-
moveTableX
- Specified by:
moveTableXin interfaceGonioService- Throws:
DeviceException
-
moveTableY
- Specified by:
moveTableYin interfaceGonioService- Throws:
DeviceException
-
moveTableZ
- Specified by:
moveTableZin interfaceGonioService- Throws:
DeviceException
-
moveTo
- Specified by:
moveToin interfaceGonioService- Throws:
DeviceException
-
moveX
- Specified by:
moveXin interfaceGonioService- Throws:
DeviceException
-
moveY
- Specified by:
moveYin interfaceGonioService- Throws:
DeviceException
-
moveZ
- Specified by:
moveZin interfaceGonioService- Throws:
DeviceException
-
park
- Specified by:
parkin interfaceGonioService- Throws:
DeviceException
-
readAxis
- Specified by:
readAxisin interfaceGonioService- Throws:
DeviceException
-
readOmega
- Specified by:
readOmegain interfaceGonioService- Throws:
DeviceException
-
readTableX
- Specified by:
readTableXin interfaceGonioService- Throws:
DeviceException
-
readTableY
- Specified by:
readTableYin interfaceGonioService- Throws:
DeviceException
-
readTableZ
- Specified by:
readTableZin interfaceGonioService- Throws:
DeviceException
-
readX
- Specified by:
readXin interfaceGonioService- Throws:
DeviceException
-
readY
- Specified by:
readYin interfaceGonioService- Throws:
DeviceException
-
readZ
- Specified by:
readZin interfaceGonioService- Throws:
DeviceException
-
reconfigure
Description copied from interface:ConfigurableRe-initialisation of values and states.Moved from Reconfigurable which has been deleted
- Specified by:
reconfigurein interfaceConfigurable- Overrides:
reconfigurein classConfigurableBase- Throws:
FactoryException
-
setScannableOmega
- Specified by:
setScannableOmegain interfaceGonio
-
setScannableTableX
- Specified by:
setScannableTableXin interfaceGonio
-
setScannableTableY
- Specified by:
setScannableTableYin interfaceGonio
-
setScannableTableZ
- Specified by:
setScannableTableZin interfaceGonio
-
setScannableX
- Specified by:
setScannableXin interfaceGonio
-
setScannableY
- Specified by:
setScannableYin interfaceGonio
-
setScannableZ
- Specified by:
setScannableZin interfaceGonio
-