Interface IPCOControllerV17

All Superinterfaces:
Findable
All Known Implementing Classes:
PCOControllerV17

public interface IPCOControllerV17 extends Findable
Interface defining the PCO controller that respects v1.7
  • Method Details

    • getAreaDetector

      ADBase getAreaDetector()
    • getBasePVName

      String getBasePVName()
    • resetAll

      void resetAll() throws Exception
      reset the camera and all assciated plugins - enable NDArray callback, stop any acquiring, set acquisition parameters, initialise plugins' array dimensions
      Throws:
      Exception
    • trigger

      void trigger() throws Exception
      to provide a software simulated/controlled trigger signal to the detector trigger input
      Throws:
      Exception
    • stop

      void stop() throws Exception
      stop camera acquiring, disarm the camera (automatically called by EPICS)
      Throws:
      Exception
    • getMJpeg1

      FfmpegStream getMJpeg1()
    • getMJpeg2

      FfmpegStream getMJpeg2()
    • getADCMode

      int getADCMode() throws gov.aps.jca.TimeoutException, gov.aps.jca.CAException, InterruptedException, Exception
      Throws:
      gov.aps.jca.TimeoutException
      gov.aps.jca.CAException
      InterruptedException
      Exception
    • getPixRate

      int getPixRate() throws gov.aps.jca.TimeoutException, gov.aps.jca.CAException, InterruptedException, Exception
      Throws:
      gov.aps.jca.TimeoutException
      gov.aps.jca.CAException
      InterruptedException
      Exception
    • getReadout1ADC8Mhz

      int getReadout1ADC8Mhz()
      returns the readout time for one ADC at 8mHz
      Returns:
      readout time
    • getReadout1ADC32Mhz

      int getReadout1ADC32Mhz()
      returns the readout time for one ADC at 32mHz
      Returns:
      readout time
    • getReadout2ADC32Mhz

      int getReadout2ADC32Mhz()
      returns the readout time for two ADC at 32mHz
      Returns:
      readout time
    • getReadout2ADC8Mhz

      int getReadout2ADC8Mhz()
      returns the readout time for two ADC at 8mHz
      Returns:
      readout time
    • setImageMode

      void setImageMode(int imageMode) throws Exception
      set the image mode for acquisition: - Single, Multiple, or Continuous when camera is disarmed.
      Parameters:
      imageMode -
      Throws:
      Exception
    • acquire

      void acquire() throws Exception
      start to acquire image
      Throws:
      Exception
    • getTiff

      NDFile getTiff()
    • getExposures

      int getExposures() throws Exception
      returns the number of exposures set in EPICS
      Returns:
      number of exposures
      Throws:
      Exception
    • getNxs

      NDFileNexus getNxs()
    • getDraw

      NDOverlay getDraw()
    • getStat

      NDStats getStat()
    • getProc1

      NDProcess getProc1()
    • getProc2

      NDProcess getProc2()
    • getRoi1

      NDROI getRoi1()
    • getRoi2

      NDROI getRoi2()
    • getArray

      NDArray getArray()
    • setADCMode

      void setADCMode(int value) throws Exception
      set camera ADC mode - one ADC or two ADC when camera is disarmed
      Parameters:
      value -
      Throws:
      Exception
    • setPixRate

      void setPixRate(int value) throws Exception
      sets camera pixel rate - 32mHz or 8mHz when camera is disarmed
      Parameters:
      value -
      Throws:
      Exception
    • getCamRamUsage

      double getCamRamUsage() throws Exception
      Throws:
      Exception
    • getElectronicTemperature

      double getElectronicTemperature() throws Exception
      Throws:
      Exception
    • getPowerSupplyTemperature

      double getPowerSupplyTemperature() throws Exception
      Throws:
      Exception
    • getStorageMode

      int getStorageMode() throws Exception
      Throws:
      Exception
    • setStorageMode

      void setStorageMode(int value) throws Exception
      set camera storage mode - recorder or FIFO buffer, when camera id disarmed
      Parameters:
      value -
      Throws:
      Exception
    • getRecorderMode

      int getRecorderMode() throws Exception
      Throws:
      Exception
    • setRecorderMode

      void setRecorderMode(int value) throws Exception
      set camera recorder mode - Sequence or Ring buffer when camera id disarmed
      Parameters:
      value -
      Throws:
      Exception
    • getTimestampMode

      int getTimestampMode() throws Exception
      Throws:
      Exception
    • setTimestampMode

      void setTimestampMode(int value) throws Exception
      sets camera timestamp - None, BCD, BCD+ASCII, or ACSII, when camera is disarmed
      Parameters:
      value -
      Throws:
      Exception
    • setAcquireMode

      void setAcquireMode(int value) throws Exception
      set camera acquire mode - Auto, Ext. enable, or Ext. trigger when camera id disarmed
      Parameters:
      value -
      Throws:
      Exception
    • getAcquireMode

      int getAcquireMode() throws Exception
      Throws:
      Exception
    • getArmMode

      int getArmMode() throws Exception
      Throws:
      Exception
    • setArmMode

      void setArmMode(int value) throws Exception
      Throws:
      Exception
    • getDelayTime

      double getDelayTime() throws Exception
      Throws:
      Exception
    • setDelayTime

      void setDelayTime(double value) throws Exception
      set camera delay time when camera is disarmed
      Parameters:
      value -
      Throws:
      Exception
    • setNumImages

      void setNumImages(int numimages) throws Exception
      sets number of image to collect per point or step when camera is disarmed
      Parameters:
      numimages -
      Throws:
      Exception
    • getHdf

      NDFileHDF5 getHdf()
    • getNumImages

      int getNumImages() throws Exception
      Throws:
      Exception
    • getNumCaptured

      int getNumCaptured() throws Exception
      Throws:
      Exception
    • getFullFileName

      String getFullFileName() throws Exception
      Throws:
      Exception
    • setTriggerMode

      void setTriggerMode(PCOControllerV17.TriggerMode value) throws Exception
      sets camera trigger mode - Auto, Soft, Ext + Soft, or Ext Pulse when camera is disarmed.
      Parameters:
      value -
      Throws:
      Exception
    • getTriggerMode

    • listTriggerModes

      void listTriggerModes()
    • setTriggerMode

      void setTriggerMode(int value) throws Exception
      sets camera trigger mode - 0-Auto, 1-Soft, 2-Ext + Soft, or 3-Ext Pulse when camera is disarmed.
      Parameters:
      value -
      Throws:
      Exception
    • disableTiffSaver

      void disableTiffSaver() throws Exception
      Throws:
      Exception
    • enableTiffSaver

      void enableTiffSaver() throws Exception
      Throws:
      Exception
    • disableHdfSaver

      void disableHdfSaver() throws Exception
      Throws:
      Exception
    • enableHdfSaver

      void enableHdfSaver() throws Exception
      Throws:
      Exception
    • getReadoutTime

      int getReadoutTime() throws Exception
      Throws:
      Exception
    • setScanDimensions

      void setScanDimensions(int[] dimensions) throws Exception
      Throws:
      Exception
    • startRecording

      void startRecording() throws Exception
      Throws:
      Exception
    • getHDFFileName

      String getHDFFileName() throws Exception
      Throws:
      Exception
    • endRecording

      void endRecording() throws Exception
      Throws:
      Exception
    • getTiffFullFileName

      String getTiffFullFileName() throws Exception
      Throws:
      Exception
    • getNextFileNumber

      int getNextFileNumber() throws Exception
      Throws:
      Exception
    • armCamera

      void armCamera() throws Exception
      Throws:
      Exception
    • disarmCamera

      void disarmCamera() throws Exception
      Throws:
      Exception
    • isArmed

      boolean isArmed() throws Exception
      Throws:
      Exception
    • makeDetectorReadyForCollection

      void makeDetectorReadyForCollection() throws Exception
      Throws:
      Exception
    • setTriggerPV

      void setTriggerPV(String triggerPV)
    • getTriggerPV

      String getTriggerPV()