Package gda.px.sampleChanger
Class OscarSampleChanger
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.px.sampleChanger.JActorSampleChanger
gda.px.sampleChanger.OscarSampleChanger
- All Implemented Interfaces:
Device,Stoppable,Configurable,Findable,gda.observable.IObservable,BlockedPositions,IJActorSampleChanger,IJCameramanObserver,SampleChanger
Controls the Rigaku MSC Oscar robotic sample changer via the JCameraman Java api. It uses two Cameraman connections -
one to talk to the Oscar system to load the plate into Actor and a second to use Actor to mount a specific sample.
-
Nested Class Summary
Nested classes/interfaces inherited from class gda.px.sampleChanger.JActorSampleChanger
JActorSampleChanger.InterlockMonitor -
Field Summary
Fields inherited from class gda.px.sampleChanger.JActorSampleChanger
cameraClientInitialised, centreRequired, centringAngles, controller, host, readingBarcodesFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.px.sampleChanger.SampleChanger
APPROVERNAME, ATTRIBUTE_IS_SOAKING, EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of the holder of the current loaded sample.protected voidvoidTells OSCAR to read the bar codes of every plate in the system and to create an xml file.voidload(int holder, int sample) Load a sample.voidoscarLoad(int cassette, int plateLevel, int sample) voidsetInventoryFilePath(String inventoryFilePath) voidunload()Unloads the current sample without loading a new one.Methods inherited from class gda.px.sampleChanger.JActorSampleChanger
_move, _unload, abort, anneal, centrelid, clearSample, commandComplete, configure, disconnect, dispose, dry, firstOperationSinceInterlock, getActionApproverName, getAttribute, getBarcode, getBlockedPositions, getErrorMessage, getHolderAndSample, getHolderType, getHost, getImageBySocket, getLocation, getNumberOfHolders, getNumberOfPlates, getPssPVName, getPuckName, getReadingBarcodes, getSample, getSamplesInHolder, getSpecialPinPuckNumber, getStatus, getTypeString, gotoWait, isCentreRequired, isEnabled, isPositionBlocked, isSampleDetected, isSampleLoaded, isSampleLoaded, logActorException, move, panicStop, reconfigure, setActionApproverName, setAttribute, setCentreRequired, setEnabled, setHolderType, setHost, setLoadedSample, setNumberOfHolders, setNumberOfPlates, setPssPVName, setReadingBarcodes, setSamplesInEveryHolder, setSamplesInHolder, setSoakAfterOperation, setSpecialPinPuckNumber, setState, soak, stop, store, waitForIdleMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfiguredMethods inherited from interface gda.device.Device
close, getProtectionLevel, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
OscarSampleChanger
public OscarSampleChanger()
-
-
Method Details
-
unload
Description copied from interface:SampleChangerUnloads the current sample without loading a new one.- Specified by:
unloadin interfaceSampleChanger- Overrides:
unloadin classJActorSampleChanger- Throws:
DeviceException
-
load
Description copied from interface:SampleChangerLoad a sample.- Specified by:
loadin interfaceSampleChanger- Overrides:
loadin classJActorSampleChanger- Parameters:
holder- the holder number (≥1)sample- the sample number (≥1)- Throws:
DeviceException
-
oscarLoad
- Parameters:
cassette-plateLevel-sample-- Throws:
DeviceException
-
initialise
- Overrides:
initialisein classJActorSampleChanger- Throws:
DeviceException
-
inventory
Tells OSCAR to read the bar codes of every plate in the system and to create an xml file. This can take a few seconds to start up.- Throws:
DeviceException
-
getInventoryFilePath
- Returns:
- the inventory path
-
setInventoryFilePath
- Parameters:
inventoryFilePath-
-
getHolder
Description copied from interface:SampleChangerReturns the number of the holder of the current loaded sample.- Specified by:
getHolderin interfaceSampleChanger- Overrides:
getHolderin classJActorSampleChanger- Returns:
- int
- Throws:
DeviceException
-