Interface FluorescenceDetectorMcaProvider

All Superinterfaces:
Findable
All Known Implementing Classes:
FluorescenceDetectorMcaProviderImpl

public interface FluorescenceDetectorMcaProvider extends Findable
Interface for simple class that returns MCA data from a FluorescenceDetector. The getMCAData(String, double) method returns an array of MCA count data, only if a scan/script is not running. This is intended to provided MCA data for the client side
invalid reference
FluorescenceDetectorCompositeController
class.
  • Method Details

    • getMCAData

      double[][] getMCAData(String detectorName, double time) throws DeviceException
      Return MCA data on the named Fluorescence detector by calling FluorescenceDetector.getMCAData(double). If a scan/script is running, an empty array will be returned and no calls will be made to the detector.
      Parameters:
      time -
      detector -
      Returns:
      double[][] of MCA counts
      Throws:
      DeviceException
    • canGetMcaData

      boolean canGetMcaData()
      Returns:
      True if MCA data can be retrieved from a detector (i.e. true if script/scan are not running)