Class EDXDControllerQMap

All Implemented Interfaces:
Detector, NexusDetector, Device, Scannable, Configurable, Findable, gda.observable.IObservable, Serializable

public class EDXDControllerQMap extends EDXDController implements NexusDetector
Version of EDXDController including QMap data.

Originally developed for i12: see JEEP-239 or search Jira for "edxd1"

See Also:
  • Constructor Details

    • EDXDControllerQMap

      public EDXDControllerQMap()
  • 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 EDXDController
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • readout

      public NexusTreeProvider readout() throws DeviceException
      Description copied from interface: Detector
      Returns the latest data collected. The size of the Object returned must be consistent with the values returned by getDataDimensions and getExtraNames.

      If LocalProperties.GDA_SCAN_CONCURRENTSCAN_READOUT_CONCURRENTLY is true then motors may be moved while the detector readouts. The value returned must not be effected by any concurrent motor or shutter movements. See Detector.waitWhileBusy() and ConcurrentScan. Readout must block until the detector is ready to respond quickly to Detector.collectData() again.

      Specified by:
      readout in interface Detector
      Specified by:
      readout in interface NexusDetector
      Overrides:
      readout in class EDXDController
      Returns:
      the data collected
      Throws:
      DeviceException
    • monitorAllSpectra

      public void monitorAllSpectra()
    • monitorSpectra

      public void monitorSpectra(int detectorNumber)
      Monitors a specific spectra
      Parameters:
      detectorNumber -
    • stopMonitoring

      public void stopMonitoring()
      Stops monitoring the detector
    • clearTrace

      public void clearTrace()
      Clears the trace if there is a specific detector being traced
    • acquire

      public org.eclipse.january.dataset.Dataset[] acquire(double aquisitionTime) throws DeviceException, InterruptedException
      Acquires a single image for viewing only
      Parameters:
      aquisitionTime - The time to collect for
      Returns:
      The dataset of the aquired data, for additional processing if required.
      Throws:
      DeviceException
      InterruptedException
    • acquire

      public org.eclipse.january.dataset.Dataset[] acquire(double aquisitionTime, boolean verbose) throws DeviceException, InterruptedException
      Acquires a single image for viewing only
      Parameters:
      aquisitionTime - The time to collect for
      Returns:
      The dataset of the aquired data, for additional processing if required.
      Throws:
      DeviceException
      InterruptedException