Class TFG2CVmoveController
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.detector.addetector.triggering.TFG2CVmoveController
- All Implemented Interfaces:
ConstantVelocityMoveController,ContinuousMoveController,HardwareTriggerProvider,Device,Configurable,Findable,gda.observable.IObservable
-
Field Summary
Fields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetEnd()intdoublegetStart()doublegetStep()doublebooleanisMoving()Check if the controller is moving axes.voidPrepare the already configured controller to move, waiting until ready.voidsetEnd(double end) Set the end location for the move in hardware units/offset/scale.voidsetStart(double start) Set the start location for the move in hardware units/offset/scale.voidsetStep(double step) Set the step size for the move in hardware units/scale.voidsetTriggerPeriod(double seconds) voidStart the prepared move and return immediately.voidStop a move if one is in progress and then reset the controller.voidvoidWait until the controller has completed moving axesMethods 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, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
TFG2CVmoveController
public TFG2CVmoveController()
-
-
Method Details
-
prepareForMove
Description copied from interface:ContinuousMoveControllerPrepare the already configured controller to move, waiting until ready. Normally this should move motors to the start position.- Specified by:
prepareForMovein interfaceContinuousMoveController- Throws:
InterruptedExceptionDeviceException
-
startMove
Description copied from interface:ContinuousMoveControllerStart the prepared move and return immediately.- Specified by:
startMovein interfaceContinuousMoveController- Throws:
DeviceException
-
isMoving
Description copied from interface:ContinuousMoveControllerCheck if the controller is moving axes.- Specified by:
isMovingin interfaceContinuousMoveController- Returns:
- true if moving.
- Throws:
DeviceException
-
waitWhileMoving
Description copied from interface:ContinuousMoveControllerWait until the controller has completed moving axes- Specified by:
waitWhileMovingin interfaceContinuousMoveController- Throws:
InterruptedExceptionDeviceException
-
stopAndReset
Description copied from interface:ContinuousMoveControllerStop a move if one is in progress and then reset the controller.- Specified by:
stopAndResetin interfaceContinuousMoveController- Throws:
DeviceExceptionInterruptedException
-
setStart
Description copied from interface:ConstantVelocityMoveControllerSet the start location for the move in hardware units/offset/scale.- Specified by:
setStartin interfaceConstantVelocityMoveController- Parameters:
start-- Throws:
DeviceException
-
getStart
public double getStart()- Specified by:
getStartin interfaceConstantVelocityMoveController
-
setEnd
Description copied from interface:ConstantVelocityMoveControllerSet the end location for the move in hardware units/offset/scale.- Specified by:
setEndin interfaceConstantVelocityMoveController- Parameters:
end-- Throws:
DeviceException
-
temperatureUpdate
public void temperatureUpdate() -
getEnd
public double getEnd()- Specified by:
getEndin interfaceConstantVelocityMoveController
-
setStep
Description copied from interface:ConstantVelocityMoveControllerSet the step size for the move in hardware units/scale.- Specified by:
setStepin interfaceConstantVelocityMoveController- Parameters:
step-- Throws:
DeviceException
-
getStep
public double getStep()- Specified by:
getStepin interfaceConstantVelocityMoveController
-
setTriggerPeriod
- Specified by:
setTriggerPeriodin interfaceHardwareTriggerProvider- Throws:
DeviceException
-
getNumberTriggers
public int getNumberTriggers()- Specified by:
getNumberTriggersin interfaceHardwareTriggerProvider
-
getTotalTime
- Specified by:
getTotalTimein interfaceHardwareTriggerProvider- Throws:
DeviceException
-