Package gda.device

Interface Mar345

All Superinterfaces:
Configurable, Detector, Device, Findable, gda.observable.IObservable, Scannable

public interface Mar345 extends Detector
Interface to control MAR 345.
  • Method Details

    • appendToKeywordList

      void appendToKeywordList(String keywords)
      Append keyowrds to the current keyword buffer
      Parameters:
      keywords - the keywords to append
    • clearKeywordList

      void clearKeywordList()
      Clear current keyword buffer
    • sendKeywordList

      void sendKeywordList()
      Send the keyword list to the mar controller - ee mar documentation
    • sendKeywords

      void sendKeywords(String keywords)
      Send a string to the mar controller
      Parameters:
      keywords - the string to send
    • setFormat

      void setFormat(String format)
      Set the format for the mar files - see the mar documentation
      Parameters:
      format - the format
    • setMode

      void setMode(int mode)
      Set the scan mode, values from 0 - 7 see the mar documentation
      Parameters:
      mode - the mode to set
    • setDirectory

      void setDirectory(String directory)
      Set the directory into which the mar files will be stored
      Parameters:
      directory - the directory name
    • setRootName

      void setRootName(String rootName)
      Set the root name of the mar files
      Parameters:
      rootName - the root name
    • getFormat

      String getFormat()
      Gets the current format
      Returns:
      the format
    • getMode

      int getMode()
      Gets the current mode.
      Returns:
      the mode
    • getDirectory

      String getDirectory()
      Gets the current data directory.
      Returns:
      the directory name
    • getRootName

      String getRootName()
      Gets the current root name.
      Returns:
      the root name
    • erase

      void erase()
      Erases.
    • scan

      void scan()
      Scans.