Class Canberra35

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

public class Canberra35 extends DeviceBase
Class to control the Canberra35 MCA
  • Constructor Details

    • Canberra35

      public Canberra35()
      The Constructor.
  • Method Details

    • configure

      public void configure()
      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
    • setSerialDeviceName

      public void setSerialDeviceName(String serialDeviceName)
      Sets the serial device name.
      Parameters:
      serialDeviceName - The serial device name
    • getSerialDeviceName

      public String getSerialDeviceName()
      Gets the serial device name.
      Returns:
      The serial device name
    • setLength

      public void setLength(int length) throws MCAException
      Parameters:
      length -
      Throws:
      MCAException
    • getLength

      public int getLength()
      Returns:
      length
    • getMemoryConfigurations

      public int[] getMemoryConfigurations()
      Returns:
      memory configuration
    • setMemories

      public void setMemories(int memory) throws MCAException
      Parameters:
      memory -
      Throws:
      MCAException
    • getMemories

      public int getMemories()
      Returns:
      memories
    • getLiveTime

      public int getLiveTime(int memory) throws MCAException
      Parameters:
      memory -
      Returns:
      live time
      Throws:
      MCAException
    • getStatus

      public int getStatus()
      Returns:
      status
    • reset

      public void reset() throws MCAException
      Throws:
      MCAException
    • stop

      public void stop() throws MCAException
      Throws:
      MCAException
    • collect

      public void collect(int memory, int dwellTime) throws MCAException
      Parameters:
      memory -
      dwellTime -
      Throws:
      MCAException
    • write

      public void write(int[] data, int memory) throws MCAException
      Parameters:
      data -
      memory -
      Throws:
      MCAException
    • read

      public int[] read(int memory) throws MCAException
      Parameters:
      memory -
      Returns:
      int[]
      Throws:
      MCAException
    • clear

      public void clear(int memory) throws MCAException
      Parameters:
      memory -
      Throws:
      MCAException