Package gda.device.continuouscontroller
Interface ContinuousMoveController
- All Superinterfaces:
Configurable,Device,Findable,HardwareTriggerProvider,gda.observable.IObservable
- All Known Subinterfaces:
ConstantVelocityMoveController,ConstantVelocityMoveController2,ConstantVelocityRasterMoveController,TrajectoryMoveController
- All Known Implementing Classes:
DummyTrajectoryMoveController,P2RZebraConstantVelMoveController,TFG2CVmoveController,XpsConstantVelocityMoveController,ZebraConstantVelocityMoveController,ZebraConstantVelocityMoveControllerForQexafs,ZebraMonitorController
A continuous move controller represents a motor controller capable of moving one or axes while generating hardware
triggers.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisMoving()Check if the controller is moving axes.voidPrepare the already configured controller to move, waiting until ready.voidStart the prepared move and return immediately.voidStop a move if one is in progress and then reset the controller.voidWait until the controller has completed moving axesMethods 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.device.continuouscontroller.HardwareTriggerProvider
getNumberTriggers, getTotalTime, setTriggerPeriodMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
prepareForMove
Prepare the already configured controller to move, waiting until ready. Normally this should move motors to the start position.- Throws:
InterruptedExceptionDeviceException
-
startMove
Start the prepared move and return immediately.- Throws:
DeviceException
-
isMoving
Check if the controller is moving axes.- Returns:
- true if moving.
- Throws:
DeviceException
-
waitWhileMoving
Wait until the controller has completed moving axes- Throws:
InterruptedExceptionDeviceException
-
stopAndReset
Stop a move if one is in progress and then reset the controller.- Throws:
DeviceExceptionInterruptedException
-