Class DetectorMonitorDataProvider

All Implemented Interfaces:
DetectorMonitorDataProviderInterface, Device, Scannable, Configurable, Findable, gda.observable.IObservable

Class to to provide data used for a detector rate view.
  • An instance of this class runs on the server; calls are made to collectData(List), passing in a list of scannables. This returns a list of positions for each of the scannables and detectors by performing the same sequence of calls to atScanStart, prepareForCollection, etc. as would normally be done during a step scan.
  • Any Xspress detector passed to collectData will be set to return only the FF value and has file writing switched off; Any Tfg scaler scannables do not correct for dark current, and will not show time frame length. These settings are restored at end of collectData.
  • Set setCollectionAllowed(boolean) to False to prevent collection of data. This can be used to be sure that no data is being collected by the detector rate view whilst a scan is running.
  • This class can also be used in a scan to stop detector rate collection : the atScanStart() sets the collection flag allowed flag to false, and blocks until the current collection has finished.