Package gda.device

Interface ODCCD

All Superinterfaces:
Configurable, Detector, Device, Findable, gda.observable.IObservable, Scannable
All Known Implementing Classes:
ODCCDController

public interface ODCCD extends Detector
Methods (additional to those of Device and Detector) required to control Oxford Detector CCD.
  • Method Details

    • connect

      void connect(String host) throws IOException
      Connect to the IS software on remote host.
      Parameters:
      host - The remote host IS is running on.
      Throws:
      IOException
    • disconnect

      void disconnect()
      Use this method to disconnect from the IS software.
    • isConnected

      boolean isConnected()
      Is the CCD control object connected to the CCD?
      Returns:
      true or false
    • getDataName

      String getDataName()
      Returns the name of the last data read from the CCD.
      Returns:
      The data name.
    • temperature

      double temperature()
      Read the CCD temperature.
      Returns:
      The CCD temperature.
    • waterTemperature

      double waterTemperature()
      Read the chiller unit water temperature.
      Returns:
      The water temperature.
    • runScript

      void runScript(String command)
      Use this method to call a user script on the IS host. Example 1: call save_dark 1.0 2 \"d:/dark2.img\" Example 3: call dark_cor 10.0 2 "//root/Darks/"
      Parameters:
      command - The command to run on IS
    • shutter

      String shutter()
      Read the shutter status
      Returns:
      OPEN or CLOSED
    • openShutter

      String openShutter()
      Method to open the shutter. It returns the status of the shutter.
      Returns:
      OPEN
    • closeShutter

      String closeShutter()
      Method to close the shutter. It returns the status of the shutter.
      Returns:
      CLOSED
    • readDataFromISDataBase

      ODCCDImage readDataFromISDataBase(String pathname)
      Reads the data from an IS database node.
      Parameters:
      pathname - The location of the data
      Returns:
      The image data in a ODCCDImage object.