Class ScannableRotatingGonio

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

@ServiceInterface(ScannableMotionUnits.class) public class ScannableRotatingGonio extends ScannableMotionUnitsBase implements org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • ScannableRotatingGonio

      public ScannableRotatingGonio()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • 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
    • waitWhileBusy

      public void waitWhileBusy() throws DeviceException, InterruptedException
      Description copied from class: ScannableBase
      Returns when operation carried out by moveTo has completed If this is to be overriden, isBusy must also be valid. Although the pos and scan command currently use this method to determine if the Scannable is busy, this must not be relied upon.
      Specified by:
      waitWhileBusy in interface Scannable
      Overrides:
      waitWhileBusy in class ScannableBase
      Throws:
      DeviceException
      InterruptedException
    • 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:
    • isBusy

      public boolean isBusy() throws DeviceException
      Description copied from class: ScannableMotionBase
      Check if the Scannable is moving/operating.. Calls onto rawIsBusy for historical reasons, although there is currently no need for this.
      Specified by:
      isBusy in interface Scannable
      Overrides:
      isBusy in class ScannableMotionBase
      Returns:
      true - if operation carried out by moveTo has not completed yet
      Throws:
      DeviceException
      See Also:
    • getRotScannableMotor

      public ScannableMotionUnits getRotScannableMotor()
    • setRotScannableMotor

      public void setRotScannableMotor(ScannableMotionUnits rotScannableMotor)
    • getxScannableMotor

      public ScannableMotionUnits getxScannableMotor()
    • setxScannableMotor

      public void setxScannableMotor(ScannableMotionUnits xScannableMotor)
    • getyScannableMotor

      public ScannableMotionUnits getyScannableMotor()
    • setyScannableMotor

      public void setyScannableMotor(ScannableMotionUnits yScannableMotor)
    • isReportX

      public boolean isReportX()
    • setReportX

      public void setReportX(boolean reportX)
    • getxScannableScale

      public double getxScannableScale()
    • setxScannableScale

      public void setxScannableScale(double xScannableScale)
    • getxScannableOffset

      public double getxScannableOffset()
    • setxScannableOffset

      public void setxScannableOffset(double xScannableOffset)
    • getyScannableScale

      public double getyScannableScale()
    • setyScannableScale

      public void setyScannableScale(double yScannableScale)
    • getyScannableOffset

      public double getyScannableOffset()
    • setyScannableOffset

      public void setyScannableOffset(double yScannableOffset)
    • getRotScannableScale

      public double getRotScannableScale()
    • setRotScannableScale

      public void setRotScannableScale(double rotScannableScale)
    • getRotScannableOffset

      public double getRotScannableOffset()
    • setRotScannableOffset

      public void setRotScannableOffset(double rotScannableOffset)