Class Lakeshore340Scannable

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

public class Lakeshore340Scannable extends ScannableBase
  • Constructor Details

    • Lakeshore340Scannable

      public Lakeshore340Scannable()
  • Method Details

    • getController

      public ILakeshore340 getController()
    • setController

      public void setController(ILakeshore340 lakeshore340Controller)
    • 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
    • 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 Double 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:
    • getTempSelect

      public int getTempSelect()
    • setTempSelect

      public void setTempSelect(int tempSelect)
    • isBusy

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

      public void stop() throws DeviceException
      Description copied from class: ScannableBase
      Stop the current move/operation. Default behaviour is to do nothing. Inheriting classes have the option to implement this if their specific behaviour requires it.
      Specified by:
      stop in interface Scannable
      Overrides:
      stop in class ScannableBase
      Throws:
      DeviceException
      See Also:
    • setup

      public void setup(String controlMode, String heaterRange, int waitTime, Double manualOutput, Double pValue, Double iValue, Double dValue, double tolerance) throws DeviceException
      Throws:
      DeviceException
    • withinDeadband

      protected boolean withinDeadband() throws DeviceException
      Throws:
      DeviceException
    • getPvName

      public String getPvName()
    • setPvName

      public void setPvName(String pvName)
    • getTolerance

      public double getTolerance()
    • setTolerance

      public void setTolerance(double tolerance)
    • getDeadtime

      public double getDeadtime()
    • setDeadtime

      public void setDeadtime(double deadtime)
    • getWaitTime

      public int getWaitTime()
    • setWaitTime

      public void setWaitTime(int waitTime)
    • getRangeString

      public String getRangeString() throws IOException
      Throws:
      IOException
    • getControlmodeString

      public String getControlmodeString()
    • setMoving

      public void setMoving(boolean isMoving)
    • isMoving

      public boolean isMoving()