Package gda.px.camera

Class MXTrigger

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

public class MXTrigger extends DeviceBase implements Trigger, InitializationListener
Class to control the trigger system. There are the start/stop PVs, as well as four other PVs that show the status within EPICS and the position compare system.
  • Field Details

    • controller

      protected EpicsController controller
      EPICS controller
    • channelManager

      protected EpicsChannelManager channelManager
      EPICS Channel Manager
    • omegaStart

      protected gov.aps.jca.Channel omegaStart
    • omegaStop

      protected gov.aps.jca.Channel omegaStop
    • omegaStartReadBack

      protected gov.aps.jca.Channel omegaStartReadBack
    • omegaStopReadBack

      protected gov.aps.jca.Channel omegaStopReadBack
    • omegaConvPosLow

      protected gov.aps.jca.Channel omegaConvPosLow
    • omegaConvPosHigh

      protected gov.aps.jca.Channel omegaConvPosHigh
  • Constructor Details

    • MXTrigger

      public MXTrigger()
  • 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
    • getTriggerReadbackPositions

      public Integer[] getTriggerReadbackPositions() throws DeviceException
      Specified by:
      getTriggerReadbackPositions in interface Trigger
      Returns:
      Integer[] of the omegaStartReadBack PV and omegaStopReadBack PV
      Throws:
      DeviceException
    • setupTriggerPointsForMove

      public void setupTriggerPointsForMove() throws DeviceException
      Specified by:
      setupTriggerPointsForMove in interface Trigger
      Throws:
      DeviceException
    • getShutterBasePvName

      public String getShutterBasePvName()
    • setShutterBasePvName

      public void setShutterBasePvName(String shutterBasePvName)
    • getStartRbvPv

      public String getStartRbvPv()
    • setStartRbvPv

      public void setStartRbvPv(String startRbvPv)
    • getStopRbvPv

      public String getStopRbvPv()
    • setStopRbvPv

      public void setStopRbvPv(String stopRbvPv)
    • getConvStartPv

      public String getConvStartPv()
    • setConvStartPv

      public void setConvStartPv(String convStartPv)
    • getConvStopPv

      public String getConvStopPv()
    • setConvStopPv

      public void setConvStopPv(String convStopPv)
    • getStartPv

      public String getStartPv()
    • setStartPv

      public void setStartPv(String startPv)
    • getStopPv

      public String getStopPv()
    • setStopPv

      public void setStopPv(String stopPv)
    • getOpenPosition

      public double getOpenPosition()
      Specified by:
      getOpenPosition in interface Trigger
    • setOpenPosition

      public void setOpenPosition(double openPosition)
      Specified by:
      setOpenPosition in interface Trigger
    • getClosePosition

      public double getClosePosition()
      Specified by:
      getClosePosition in interface Trigger
    • setClosePosition

      public void setClosePosition(double closePosition)
      Specified by:
      setClosePosition in interface Trigger
    • initializationCompleted

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