Package gda.px.camera

Interface MXCameraInterface

All Superinterfaces:
Camera, Configurable, Device, Findable, gda.observable.IObservable
All Known Implementing Classes:
MXCamera, VmxmMXCamera

public interface MXCameraInterface extends Camera
  • Method Details

    • setShutter

      void setShutter(Shutter shutter)
    • setDetectorSupportMotor

      void setDetectorSupportMotor(ScannableMotor motor)
      Sets the detector support motor used by this camera.
      Parameters:
      motor - the detector support motor
    • setOmegaMotor

      void setOmegaMotor(ScannableMotionUnits motor)
      Sets the omega motor used by this camera.
      Parameters:
      motor - the omega motor
    • setGonioRotationAxisRecord

      void setGonioRotationAxisRecord(String gonioRotationAxisRecord)
      Sets the record name for the goniometer rotation axis (e.g. "BL04J-MO-MD2-01:GONIO:OMEGA").
      Parameters:
      gonioRotationAxisRecord - the rotation axis record name
    • getCloseAngle

      double getCloseAngle()
      Returns:
      double - the angle to send the close signal to the shutter
    • getDefaultAccelerationTime

      double getDefaultAccelerationTime()
      Returns:
      double - the accel curve to reset to after exposure
    • getDefaultMoveTime

      double getDefaultMoveTime()
      Returns:
      double - the time to return the goniometer after an exposure to its start position
    • getDefaultSpeed

      double getDefaultSpeed()
      Returns:
      double - the speed to set the motor to after exposure
    • getDesiredAccelerationTime

      double getDesiredAccelerationTime()
      Returns:
      double - the accel curve to use during the exposure
    • getDesiredAngularVelocity

      double getDesiredAngularVelocity()
      Returns:
      double - the angular velocity of the exposure
    • getDetectorSupportZName

      String getDetectorSupportZName()
      Returns:
      the name of the dof of the detector support z-axis
    • getExtraCloseTime

      double getExtraCloseTime()
      Returns:
      the angular delay when stopping omega after the shutter has been closed
    • getExtraOpenTime

      double getExtraOpenTime()
      Returns:
      the angular space factor to start the omega movement before the exposure start position
    • getMinExposeTime

      double getMinExposeTime()
      Returns:
      double - minimum predicted time which the omega movement of the exposure will take
    • getOpenAngle

      double getOpenAngle()
      Returns:
      double - the angle to send the open signal to the shutter
    • getOmegaDOFName

      String getOmegaDOFName()
      Returns:
      the name of the omega dof
    • getOmegaEndPosition

      double getOmegaEndPosition()
      Returns:
      double - the omega angle to move to during the exposure
    • getOmegaStartPosition

      double getOmegaStartPosition()
      Returns:
      double - the omega angle to start the exposure
    • getRAState

      String getRAState() throws DeviceException
      Get rotation axis state.
      Returns:
      the state
      Throws:
      DeviceException - if a device exception occurs
    • getSafeDistance

      double getSafeDistance()
      Returns:
      a safe distance for the detector to move to when users enter the hutch
    • getShutterCloseTime

      double getShutterCloseTime()
      Returns:
      the time to delay sending the shutter close signal before the omega rotation completes
    • getShutterOpenTime

      double getShutterOpenTime()
      Returns:
      the time to delay sending the shutter open signal before the omega gets to the start of the exposure
    • setDefaultAccelerationTime

      void setDefaultAccelerationTime(double defaultAccelCurve)
      Parameters:
      defaultAccelCurve -
    • setDefaultSpeed

      void setDefaultSpeed(double defaultSpeed)
      Parameters:
      defaultSpeed -
    • setDetectorSupportZName

      void setDetectorSupportZName(String detectorSupportZName)
      Sets the name of the dof of the detector support z-axis
      Parameters:
      detectorSupportZName -
    • setExtraCloseTime

      void setExtraCloseTime(double close)
      Sets the angular delay when stopping omega after the shutter has been closed
      Parameters:
      close -
    • setExtraOpenTime

      void setExtraOpenTime(double open)
      Sets the angular space factor to start the omega movement before the exposure start position
      Parameters:
      open -
    • setOmegaDOFName

      void setOmegaDOFName(String omegaDOFName)
      Sets the name of the omega dof
      Parameters:
      omegaDOFName -
    • setSafeDistance

      void setSafeDistance(double safeDistance)
      sets a safe distance for the detector to move to when users enter the hutch
      Parameters:
      safeDistance -
    • setShutterCloseTime

      void setShutterCloseTime(double delayClose)
      Sets the time to delay sending the shutter close signal before the omega rotation completes
      Parameters:
      delayClose -
    • setShutterOpenTime

      void setShutterOpenTime(double delayOpen)
      Sets the time to delay sending the shutter open signal before the omega gets to the start of the exposure
      Parameters:
      delayOpen -
    • setupOmegaForMove

      void setupOmegaForMove() throws gov.aps.jca.TimeoutException, DeviceException, InterruptedException
      Sets the shutter and movement parameters for the next exposure based on the values given by setImageStart/Angle/Time
      Throws:
      gov.aps.jca.TimeoutException
      DeviceException
      InterruptedException
    • getOmegaReadbackPositions

      Integer[] getOmegaReadbackPositions() throws DeviceException, gov.aps.jca.TimeoutException, InterruptedException
      Returns:
      Integer[] of the omegaStartReadBack PV and omegaStopReadBack PV
      Throws:
      DeviceException
      InterruptedException
      gov.aps.jca.TimeoutException