Package gda.px.camera

Class MXShutter

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

public class MXShutter extends DeviceBase implements Shutter, InitializationListener
  • Field Details

    • shutterVAL

      protected gov.aps.jca.Channel shutterVAL
      Epics channels
    • shutterSTATE

      protected gov.aps.jca.Channel shutterSTATE
    • controller

      protected EpicsController controller
      EPICS controller
    • channelManager

      protected EpicsChannelManager channelManager
      EPICS Channel Manager
  • Constructor Details

    • MXShutter

      public MXShutter()
  • 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
    • auto

      public void auto() throws DeviceException
      Specified by:
      auto in interface Shutter
      Throws:
      DeviceException
    • close

      public void close() throws DeviceException
      Description copied from interface: Device
      Close and unconfigure the device.
      Specified by:
      close in interface Device
      Specified by:
      close in interface Shutter
      Overrides:
      close in class DeviceBase
      Throws:
      DeviceException
    • isOpen

      public boolean isOpen() throws DeviceException
      Specified by:
      isOpen in interface Shutter
      Throws:
      DeviceException
    • open

      public void open() throws DeviceException
      Specified by:
      open in interface Shutter
      Throws:
      DeviceException
    • getShutterAutoValue

      public int getShutterAutoValue()
    • setShutterAutoValue

      public void setShutterAutoValue(int shutterAutoValue)
    • getShutterOpenValue

      public int getShutterOpenValue()
    • setShutterOpenValue

      public void setShutterOpenValue(int shutterOpenValue)
    • getShutterCloseValue

      public int getShutterCloseValue()
    • setShutterCloseValue

      public void setShutterCloseValue(int shutterCloseValue)
    • initializationCompleted

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

      public String getShutterValPvName()
    • setShutterValPvName

      public void setShutterValPvName(String shutterValPvName)
    • getShutterStatePvName

      public String getShutterStatePvName()
    • setShutterStatePvName

      public void setShutterStatePvName(String shutterStatePvName)
    • hasShutterStatus

      public boolean hasShutterStatus()
      Specified by:
      hasShutterStatus in interface Shutter