Class CameraXYScannable

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

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

    • CameraXYScannable

      public CameraXYScannable()
  • 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 position) 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:
      position - 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, double pixelsY) throws DeviceException, InterruptedException
      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)
    • getPropertyNameX

      public String getPropertyNameX()
    • setPropertyNameX

      public void setPropertyNameX(String propertyNameX)
    • getPropertyNameY

      public String getPropertyNameY()
    • setPropertyNameY

      public void setPropertyNameY(String propertyNameY)
    • getCameraStageYScannable

      public Scannable getCameraStageYScannable()
    • setCameraStageYScannable

      public void setCameraStageYScannable(Scannable cameraStageYScannable)
    • 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)