Class OxfordDanfysikQBPM

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

public class OxfordDanfysikQBPM extends BPMBase
OxfordDanfysik QBPM.
See Also:
  • Constructor Details

    • OxfordDanfysikQBPM

      public OxfordDanfysikQBPM()
  • 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
    • getX

      public double getX() throws DeviceException
      Description copied from interface: BPM
      Get the current beam X position.
      Returns:
      Current beam X position.
      Throws:
      DeviceException
    • getY

      public double getY() throws DeviceException
      Description copied from interface: BPM
      Get the current beam Y position.
      Returns:
      Current beam Y position.
      Throws:
      DeviceException
    • 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
    • setAddress

      public void setAddress(int address)
      Sets the device's address.
      Parameters:
      address - The device's address
    • getAddress

      public int getAddress()
      Gets the device's address.
      Returns:
      The device's address
    • setTimeout

      public void setTimeout(int timeout)
      Sets the timeout.
      Parameters:
      timeout - The timeout
    • getTimeout

      public int getTimeout()
      Gets the timeout.
      Returns:
      The timeout