Class PulseTube

All Implemented Interfaces:
Detector, Device, Scannable, Configurable, Findable, gda.observable.IObservable, Serializable

public class PulseTube extends DetectorBase
See Also:
  • Constructor Details

    • PulseTube

      public PulseTube()
  • Method Details

    • configure

      public void configure() throws FactoryException
      Description copied from class: ConfigurableBase
      Default implementation for classes that do not have to do any specific configuration.
      Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.
      Specified by:
      configure in interface Configurable
      Overrides:
      configure in class ConfigurableBase
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • asynchronousMoveTo

      public void asynchronousMoveTo(Object collectionTime) throws DeviceException
      Description copied from class: DetectorBase
      Default implementation is to set the collection time and to call the collectData method
      Specified by:
      asynchronousMoveTo in interface Scannable
      Overrides:
      asynchronousMoveTo in class DetectorBase
      Parameters:
      collectionTime - Position to move to should have an element for each input field.
      Throws:
      DeviceException
      See Also:
    • setTarget

      public void setTarget(double val)
    • setPropGain

      public void setPropGain(double val)
    • setIntGain

      public void setIntGain(double val)
    • setDerGain

      public void setDerGain(double val)
    • setGasFlow

      public void setGasFlow(double val)
    • collectData

      public void collectData() throws DeviceException
      Description copied from interface: Detector
      Tells the detector to begin to collect a set of data, then returns immediately. Should cause the hardware to start collecting immediately: if there is any delay then detectors used in the same scan would collect over different times when beam conditions may differ.
      Throws:
      DeviceException
    • getStatus

      public int getStatus() throws DeviceException
      Description copied from interface: Detector
      Returns the current collecting state of the device.
      Returns:
      BUSY if the detector has not finished the requested operation(s), IDLE if in an completely idle state and STANDBY if temporarily suspended.
      Throws:
      DeviceException
    • getPosition

      public Object getPosition() throws DeviceException
      Description copied from class: DetectorBase
      Returns the current position of the Scannable. Called by ConcurentScan at the end of the point. Reads an internal (hardware) position from rawGetPosition, converts this to an external (user) position and returns it. Also, if createsOwnFiles attempts to register the file with all FileRegistrars (primarily for data archiving). Note that this method will be called if the detector is triggered from a 'pos' command but not if the detector is triggered by the scan command (which ignores the detector's scannable interface).
      Specified by:
      getPosition in interface Scannable
      Overrides:
      getPosition in class DetectorBase
      Returns:
      Current position with an element for each input and extra field. null if their are no fields.
      Throws:
      DeviceException
      See Also:
    • readout

      public Object readout() throws DeviceException
      Description copied from interface: Detector
      Returns the latest data collected. The size of the Object returned must be consistent with the values returned by getDataDimensions and getExtraNames.

      If LocalProperties.GDA_SCAN_CONCURRENTSCAN_READOUT_CONCURRENTLY is true then motors may be moved while the detector readouts. The value returned must not be effected by any concurrent motor or shutter movements. See Detector.waitWhileBusy() and ConcurrentScan. Readout must block until the detector is ready to respond quickly to Detector.collectData() again.

      Returns:
      the data collected
      Throws:
      DeviceException
    • createsOwnFiles

      public boolean createsOwnFiles() throws DeviceException
      Description copied from interface: Detector
      Returns a value which indicates whether the detector creates its own files. If it does (return true) the readout() method returns the name of the latest file created as a string. If it does not (return false) the readout() method will return the data directly.
      Returns:
      true if readout() returns filenames
      Throws:
      DeviceException
    • getDescription

      public String getDescription() throws DeviceException
      Specified by:
      getDescription in interface Detector
      Overrides:
      getDescription in class DetectorBase
      Returns:
      A description of the detector.
      Throws:
      DeviceException
    • getDetectorID

      public String getDetectorID() throws DeviceException
      Specified by:
      getDetectorID in interface Detector
      Overrides:
      getDetectorID in class DetectorBase
      Returns:
      A identifier for this detector.
      Throws:
      DeviceException
    • getDetectorType

      public String getDetectorType() throws DeviceException
      Specified by:
      getDetectorType in interface Detector
      Overrides:
      getDetectorType in class DetectorBase
      Returns:
      The type of detector.
      Throws:
      DeviceException
    • getT1_pv

      public String getT1_pv()
    • setT1_pv

      public void setT1_pv(String t1_pv)
    • getT2_pv

      public String getT2_pv()
    • setT2_pv

      public void setT2_pv(String t2_pv)
    • getT3_pv

      public String getT3_pv()
    • setT3_pv

      public void setT3_pv(String t3_pv)
    • getTarget_pv

      public String getTarget_pv()
    • setTarget_pv

      public void setTarget_pv(String target_pv)
    • getError_pv

      public String getError_pv()
    • setError_pv

      public void setError_pv(String error_pv)
    • getProp_gain_pv

      public String getProp_gain_pv()
    • setProp_gain_pv

      public void setProp_gain_pv(String prop_gain_pv)
    • getInt_gain_pv

      public String getInt_gain_pv()
    • setInt_gain_pv

      public void setInt_gain_pv(String int_gain_pv)
    • getDer_gain_pv

      public String getDer_gain_pv()
    • setDer_gain_pv

      public void setDer_gain_pv(String der_gain_pv)
    • getGas_flow_pv

      public String getGas_flow_pv()
    • setGas_flow_pv

      public void setGas_flow_pv(String gas_flow_pv)
    • getHeater_voltage_pv

      public String getHeater_voltage_pv()
    • setHeater_voltage_pv

      public void setHeater_voltage_pv(String heater_voltage_pv)
    • getHeater_output_pv

      public String getHeater_output_pv()
    • setHeater_output_pv

      public void setHeater_output_pv(String heater_output_pv)
    • getHeater_mode_pv

      public String getHeater_mode_pv()
    • setHeater_mode_pv

      public void setHeater_mode_pv(String heater_mode_pv)