Interface IScannableMotorObservable
- All Superinterfaces:
Configurable,ControllerRecord,Device,Findable,gda.observable.IObservable,IScannableMotor,Scannable,ScannableMotion,ScannableMotionUnits
-
Field Summary
Fields inherited from interface gda.device.IScannableMotor
WAS_ALREADY_BUSY_SO_COULD_NOT_BE_MOVEDFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLEFields inherited from interface gda.device.ScannableMotion
FIRSTINPUTLIMITSFields inherited from interface gda.device.ScannableMotionUnits
HARDWAREUNITS, USERUNITS -
Method Summary
Modifier and TypeMethodDescriptiongetMotor()Method required by scripts which need to access the real motor at times.
Before the script could get the motor name but now that the motor may be set by spring, scripts cannot get the underlying motor.doubleReturns this motor's time to velocity.voidsetSpeed(double theSpeed) Set the speed of the underlying motorvoidsetTimeToVelocity(double timeToVelocity) Sets this motor's time to velocity.Methods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.ControllerRecord
getControllerRecordNameMethods 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.IScannableMotor
getDemandPositionTolerance, getLowerInnerLimit, getLowerMotorLimit, getMotorResolution, getSpeed, getUpperInnerLimit, getUpperMotorLimit, getUserOffset, setMotor, setMotorName, setPositionMethods 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, waitWhileBusyMethods inherited from interface gda.device.ScannableMotion
a, ar, checkPositionWithinGdaLimits, checkPositionWithinGdaLimits, getLowerGdaLimits, getNumberTries, getOffset, getScalingFactor, getTolerances, getUpperGdaLimits, r, setLowerGdaLimits, setLowerGdaLimits, setNumberTries, setOffset, setScalingFactor, setTolerance, setTolerances, setUpperGdaLimits, setUpperGdaLimitsMethods inherited from interface gda.device.ScannableMotionUnits
addAcceptableUnit, getAcceptableUnits, getHardwareUnitString, getUserUnits, setHardwareUnitString, setOffset, setUserUnits
-
Method Details
-
getMotor
Motor getMotor()Description copied from interface:IScannableMotorMethod required by scripts which need to access the real motor at times.
Before the script could get the motor name but now that the motor may be set by spring, scripts cannot get the underlying motor.- Specified by:
getMotorin interfaceIScannableMotor- Returns:
- Motor
-
getMotorName
String getMotorName()- Specified by:
getMotorNamein interfaceIScannableMotor- Returns:
- Returns the motorName.
-
getTimeToVelocity
Description copied from interface:IScannableMotorReturns this motor's time to velocity.- Specified by:
getTimeToVelocityin interfaceIScannableMotor- Throws:
DeviceException
-
setSpeed
Description copied from interface:IScannableMotorSet the speed of the underlying motor- Specified by:
setSpeedin interfaceIScannableMotor- Parameters:
theSpeed- in the motor's units- Throws:
DeviceException
-
setTimeToVelocity
Description copied from interface:IScannableMotorSets this motor's time to velocity.- Specified by:
setTimeToVelocityin interfaceIScannableMotor- Throws:
DeviceException
-