Class MonoCoolScannable

All Implemented Interfaces:
Device, Scannable, InitializationListener, Configurable, Findable, gda.observable.IObservable

public class MonoCoolScannable extends ScannableBase implements InitializationListener
For B18 - this will test the mono temperature at regular points in a scan and will pause until it has colled below some level before resuming.
  • Constructor Details

    • MonoCoolScannable

      public MonoCoolScannable()
  • Method Details

    • 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
    • initializationCompleted

      public void initializationCompleted()
      Description copied from interface: InitializationListener
      Called when all critical channels are connected.
      Specified by:
      initializationCompleted in interface InitializationListener
    • 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:
    • atPointStart

      public void atPointStart() throws DeviceException
      Description copied from class: ScannableBase
      Called on every Scannable at every data point, for scans which are broken down into individual points (i.e. non-continuous scans) Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.
      Specified by:
      atPointStart in interface Scannable
      Overrides:
      atPointStart in class ScannableBase
      Throws:
      DeviceException
      See Also:
    • atScanLineStart

      public void atScanLineStart() throws DeviceException
      Description copied from class: ScannableBase
      Called for every Scannable at the start of every scan Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.
      Specified by:
      atScanLineStart in interface Scannable
      Overrides:
      atScanLineStart in class ScannableBase
      Throws:
      DeviceException
      See Also:
    • atScanStart

      public void atScanStart() throws DeviceException
      Description copied from class: ScannableBase
      Called for every Scannable at the start of a group of nested scans (or a single scan if that is the case) Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.
      Specified by:
      atScanStart in interface Scannable
      Overrides:
      atScanStart in class ScannableBase
      Throws:
      DeviceException
      See Also:
    • isPauseAtEachPoint

      public boolean isPauseAtEachPoint()
    • setPauseAtEachPoint

      public void setPauseAtEachPoint(boolean pauseAtEachPoint)
    • isPauseAtEachLine

      public boolean isPauseAtEachLine()
    • setPauseAtEachLine

      public void setPauseAtEachLine(boolean pauseAtEachLine)
    • isPauseAtScanStart

      public boolean isPauseAtScanStart()
    • setPauseAtScanStart

      public void setPauseAtScanStart(boolean pauseAtScanStart)
    • getTemperatureLimit

      public double getTemperatureLimit()
    • setTemperatureLimit

      public void setTemperatureLimit(double temperatureLimit)
    • getTemperatureCoolLevel

      public double getTemperatureCoolLevel()
    • setTemperatureCoolLevel

      public void setTemperatureCoolLevel(double temperatureCoolLevel)
    • getCoolingTimeout

      public double getCoolingTimeout()
    • setCoolingTimeout

      public void setCoolingTimeout(double coolingTimeout)
    • getMotorTempPV

      public String getMotorTempPV()
    • setMotorTempPV

      public void setMotorTempPV(String motorTempPV)