Class EpicsActorSampleChangerController
java.lang.Object
gda.factory.ConfigurableBase
gda.mx.samplechanger.actor.controller.ActorSampleChangerControllerBase
gda.mx.samplechanger.actor.controller.EpicsActorSampleChangerController
- All Implemented Interfaces:
Configurable,ActorSampleChangerController,gda.observable.IObservable
MXGDA-1546 Control Actor robots through EPICS instead of Cameraman
Written in the style of
EpicsAreaDetectorPilatus-
Field Summary
Fields inherited from class gda.mx.samplechanger.actor.controller.ActorSampleChangerControllerBase
commandErrorCodeMessages, controlErrorCodeMessages, LOCATIONS, MISSING_MESSAGE, NO_ERROR, programErrorCodeMessages, RIGAKU_LOCATIONS, UNKNOWN_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidvoidvoidDefault 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.voiddispose()voiddry()intintintintgetPuckName(int position) voidgotoWait()booleanbooleanbooleanvoidload()voidvoidvoidreset()voidvoidsetNextPin(Integer nextPin) voidsetNextPuck(Integer nextPuck) voidsetNextPuckAndPin(Integer nextPuck, Integer nextPin) http://jira.diamond.ac.uk/browse/MXGDA-2224voidsetNextSampleID(Integer sampleID) Necessary becauseObservable.addObserver(Observer, Predicate)calls the Observer's update method on addingvoidsoak()voidunload()Methods inherited from class gda.mx.samplechanger.actor.controller.ActorSampleChangerControllerBase
addIObserver, checkNextPin, checkNextPuck, deleteIObserver, deleteIObservers, getControlErrorMessage, getLocationCode, getLocationName, getMaxPucks, getProgramErrorMessage, getRobotLocation, logAndNotifyIObserversOfRobotErrorEvent, reconfigure, sleepMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.mx.samplechanger.actor.controller.ActorSampleChangerController
isConfigured
-
Constructor Details
-
EpicsActorSampleChangerController
public EpicsActorSampleChangerController()
-
-
Method Details
-
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- Overrides:
configurein classConfigurableBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
getPuckName
- Throws:
DeviceException
-
setBasePv
-
getProgramErrorMessage
-
getControlErrorMessage
-
setNextPuck
- Throws:
DeviceException
-
getNextPuck
- Throws:
DeviceException
-
setNextPin
- Throws:
DeviceException
-
getNextPin
- Throws:
DeviceException
-
setNextPuckAndPin
Description copied from interface:ActorSampleChangerControllerhttp://jira.diamond.ac.uk/browse/MXGDA-2224- Throws:
DeviceException
-
setNextSampleID
- Throws:
DeviceException
-
isSampleLoaded
- Throws:
DeviceException
-
isSampleDetected
- Throws:
DeviceException
-
getBarcode
- Throws:
DeviceException
-
getCurrentPuck
- Throws:
DeviceException
-
getCurrentPin
- Throws:
DeviceException
-
clearSample
- Throws:
DeviceException
-
getLocationCode
- Throws:
DeviceException
-
getLocationName
- Throws:
DeviceException
-
getProgramName
- Throws:
DeviceException
-
isProgramRunning
- Throws:
DeviceException
-
gotoWait
- Throws:
DeviceException
-
soak
- Throws:
DeviceException
-
load
- Throws:
DeviceException
-
dispose
- Throws:
DeviceException
-
unload
- Throws:
DeviceException
-
dry
- Throws:
DeviceException
-
openGripper
- Throws:
DeviceException
-
openGripperWide
- Throws:
DeviceException
-
closeGripper
- Throws:
DeviceException
-
abort
- Throws:
DeviceException
-
reset
- Throws:
DeviceException
-
skipFirstPredicate
Necessary becauseObservable.addObserver(Observer, Predicate)calls the Observer's update method on adding
-