Class RotationAxisXScannable

All Implemented Interfaces:
Device, Scannable, Configurable, Findable, gda.observable.IObservable, org.springframework.beans.factory.InitializingBean

@ServiceInterface(Scannable.class) public class RotationAxisXScannable extends ScannableBase implements org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • RotationAxisXScannable

      public RotationAxisXScannable()
  • Method Details

    • isBusy

      public boolean isBusy() throws DeviceException
      Description copied from interface: Scannable
      Check if the Scannable is moving/operating.
      Specified by:
      isBusy in interface Scannable
      Returns:
      true - if operation carried out by moveTo has not completed yet
      Throws:
      DeviceException
    • rawAsynchronousMoveTo

      public void rawAsynchronousMoveTo(Object positionInCameraImage) throws DeviceException
      Description copied from class: ScannableBase
      [Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.
      Overrides:
      rawAsynchronousMoveTo in class ScannableBase
      Parameters:
      positionInCameraImage - Position in its internal/hardware representation. e.g. with units and offsets removed
      Throws:
      DeviceException
      See Also:
    • rawGetPosition

      public Object rawGetPosition() throws DeviceException
      Description copied from class: ScannableBase
      [Consider abstract] Read the position in its internal (user) representation.
      Overrides:
      rawGetPosition in class ScannableBase
      Returns:
      the value represented by this Scannable
      Throws:
      DeviceException
      See Also:
    • configure

      public void configure() throws FactoryException
      Description copied from class: ConfigurableBase
      Default 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:
      configure in interface Configurable
      Overrides:
      configure in class ConfigurableBase
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • autoCentre

      public void autoCentre(double pixelsX) throws DeviceException, InterruptedException
      Move sample stage so that rotation axis is moved by pixelsX
      Parameters:
      pixelsX -
      Throws:
      DeviceException
      InterruptedException
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getConfigurationName

      public String getConfigurationName()
    • setConfigurationName

      public void setConfigurationName(String configurationName)
    • getPropertyName

      public String getPropertyName()
    • setPropertyName

      public void setPropertyName(String propertyName)
    • getSampleStageXScannable

      public Scannable getSampleStageXScannable()
    • setSampleStageXScannable

      public void setSampleStageXScannable(Scannable sampleStageXScannable)
    • getCameraStageXScannable

      public Scannable getCameraStageXScannable()
    • setCameraStageXScannable

      public void setCameraStageXScannable(Scannable cameraStageXScannable)
    • getCameraScaleProvider

      public DisplayScaleProvider getCameraScaleProvider()
    • setCameraScaleProvider

      public void setCameraScaleProvider(DisplayScaleProvider cameraScaleProvider)
    • getLensScannable

      public Scannable getLensScannable()
    • setLensScannable

      public void setLensScannable(Scannable lensScannable)