Class CameraControlForLiveStream

All Implemented Interfaces:
Configurable, Findable, gda.observable.IObservable, CameraControl

public class CameraControlForLiveStream extends EpicsCameraControl
Customisation of EpicsCameraControl to override specific methods in order in ensure correct detector settings are set before acquiring for the purposes of a live stream.
  • Constructor Details

    • CameraControlForLiveStream

      public CameraControlForLiveStream(ADBase adBase, NDROI ndRoi)
    • CameraControlForLiveStream

      public CameraControlForLiveStream(ADBase adBase)
  • Method Details

    • startAcquiring

      public void startAcquiring() throws DeviceException
      Start acquiring data

      Set the ImageMode to CONTINUOUS for live stream.

      Specified by:
      startAcquiring in interface CameraControl
      Overrides:
      startAcquiring in class EpicsCameraControl
      Throws:
      DeviceException
    • setAcquireTime

      public void setAcquireTime(double acquiretime) throws DeviceException
      Set acquire (exposure) time

      Set the acquire period to the same as the acquire time (exposure time). Of course each detector will have a different physical 'readout' time so the period will always be longer but it should be up to the specific AD driver to manage this itself and adjust the period accordingly.

      Specified by:
      setAcquireTime in interface CameraControl
      Overrides:
      setAcquireTime in class EpicsCameraControl
      Parameters:
      acquiretime - in seconds
      Throws:
      DeviceException
    • setContinuousImageMode

      public void setContinuousImageMode(int continuousImageMode)
    • setStreamTriggerMode

      public void setStreamTriggerMode(Integer streamTriggerMode)