Class XmapwithSlaveMode

All Implemented Interfaces:
Detector, Device, Scannable, XmapDetector, Configurable, Findable, gda.observable.IObservable, gda.observable.IObserver, Serializable, DetectorWithConfigurationFile
Direct Known Subclasses:
NexusXmap

public class XmapwithSlaveMode extends Xmap
For use when a detector readout using an Xmap ADC is normally triggered externally e.g. by a TFG and so needs a slave mode
See Also:
  • Constructor Details

    • XmapwithSlaveMode

      public XmapwithSlaveMode()
  • Method Details

    • collectData

      public void collectData() throws DeviceException
      Description copied from interface: Detector
      Tells the detector to begin to collect a set of data, then returns immediately. Should cause the hardware to start collecting immediately: if there is any delay then detectors used in the same scan would collect over different times when beam conditions may differ.
      Specified by:
      collectData in interface Detector
      Overrides:
      collectData in class Xmap
      Throws:
      DeviceException
    • isSlave

      public boolean isSlave()
      Returns:
      Returns the slave.
    • setSlave

      public void setSlave(boolean slave)
      Parameters:
      slave - The slave to set.