Class EpicsEurotherm2kController

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

public class EpicsEurotherm2kController extends DeviceBase implements InitializationListener
This class is designed to support Cyberstar Blower, MRI Furnace, and Stoe Furnace.
  • Field Details

    • maxRampRate

      public double maxRampRate
      maximum temperature ramp rate allowed
    • minRampRate

      public double minRampRate
      minimum ramp rate
    • maxOutput

      public double maxOutput
      maximum output power allowed
  • Constructor Details

    • EpicsEurotherm2kController

      public EpicsEurotherm2kController()
      Constructor
  • Method Details

    • configure

      public void configure() throws FactoryException
      Initialise the cryo controller object.
      Specified by:
      configure in interface Configurable
      Overrides:
      configure in class ConfigurableBase
      Throws:
      FactoryException
    • reconfigure

      public void reconfigure() throws FactoryException
      Description copied from interface: Configurable
      Re-initialisation of values and states.

      Moved from Reconfigurable which has been deleted

      Specified by:
      reconfigure in interface Configurable
      Overrides:
      reconfigure in class ConfigurableBase
      Throws:
      FactoryException
    • setTargetTemperature

      public void setTargetTemperature(double temp) throws DeviceException
      sets the target temperature and start ramp to it, ramp rate must be set first.
      Parameters:
      temp -
      Throws:
      DeviceException
    • getTargetTemperature

      public double getTargetTemperature() throws DeviceException
      gets the target temperature
      Returns:
      the set point
      Throws:
      DeviceException
    • setRampRate

      public void setRampRate(double rate) throws DeviceException
      sets the temperature ramp rate
      Parameters:
      rate -
      Throws:
      DeviceException
    • getRampRate

      public double getRampRate() throws DeviceException
      gets the temperature ramp rate
      Returns:
      ramp rate
      Throws:
      DeviceException
    • setOutput

      public void setOutput(double output) throws DeviceException
      sets the power output in percentage (max 35%)
      Parameters:
      output -
      Throws:
      DeviceException
    • getOutput

      public double getOutput() throws DeviceException
      gets the power output in percentage
      Returns:
      power output
      Throws:
      DeviceException
    • getTemp

      public double getTemp() throws DeviceException
      gets the current temperature
      Returns:
      run mode
      Throws:
      DeviceException
    • setProportional

      public void setProportional(double p) throws DeviceException
      sets the PID proportional parameter P
      Parameters:
      p -
      Throws:
      DeviceException
    • getProportional

      public double getProportional() throws DeviceException
      gets the PID proportional parameter P
      Returns:
      proportional
      Throws:
      DeviceException
    • setIntegral

      public void setIntegral(double integral) throws DeviceException
      sets the PID integral parameter P
      Parameters:
      integral -
      Throws:
      DeviceException
    • getIntegral

      public double getIntegral() throws DeviceException
      gets the PID integral parameter I public double getMaxRampRate() { return maxRampRate; } public void setMaxRampRate(double maxRampRate) { this.maxRampRate = maxRampRate; } public double getMinRampRate() { return minRampRate; } public void setMinRampRate(double minRampRate) { this.minRampRate = minRampRate; } public double getMaxOutput() { return maxOutput; } public void setMaxOutput(double maxOutput) { this.maxOutput = maxOutput; }
      Returns:
      integral
      Throws:
      DeviceException
    • setDifferential

      public void setDifferential(double differential) throws DeviceException
      sets the PID differential parameter P
      Parameters:
      differential -
      Throws:
      DeviceException
    • getDifferential

      public double getDifferential() throws DeviceException
      gets the PID differential parameter D
      Returns:
      remaining
      Throws:
      DeviceException
    • getError

      public String getError() throws DeviceException
      gets the error string
      Returns:
      error string
      Throws:
      DeviceException
    • clear

      public void clear() throws DeviceException
      clear the error string
      Throws:
      DeviceException
    • initializationCompleted

      public void initializationCompleted()
      Description copied from interface: InitializationListener
      Called when all critical channels are connected.
      Specified by:
      initializationCompleted in interface InitializationListener
    • getMaxRampRate

      public double getMaxRampRate()
      returns the maximum ramp rate of this device.
      Returns:
      maximum ramp rate
    • setMaxRampRate

      public void setMaxRampRate(double maxRampRate)
      sets the maximum ramp rate of this device - used only by Castor
      Parameters:
      maxRampRate -
    • getMinRampRate

      public double getMinRampRate()
      returns the minimum ramp rate of the device
      Returns:
      minimum ramp rate
    • setMinRampRate

      public void setMinRampRate(double minRampRate)
      Parameters:
      minRampRate -
    • getMaxOutput

      public double getMaxOutput()
      returns the maximum output
      Returns:
      maximum output
    • setMaxOutput

      public void setMaxOutput(double maxOutput)
      sets the maximum output
      Parameters:
      maxOutput -
    • isConnected

      public boolean isConnected()
      check if the hardware is connected in EPICS
      Returns:
      True or False
    • setConnected

      public void setConnected(boolean connected)
      sets EPICS hardware connection state
      Parameters:
      connected -
    • setDisbale

      public void setDisbale(boolean bool) throws DeviceException
      sets the EPICS hardware connection state: true - Disabled; false - Enabled
      Parameters:
      bool -
      Throws:
      DeviceException
    • getDisable

      public String getDisable() throws DeviceException
      gets the EPICS hardware connection state.
      Returns:
      Disabled or Enabled
      Throws:
      DeviceException
    • getBasePVName

      public String getBasePVName()
    • setBasePVName

      public void setBasePVName(String basePVName)