Class CalibratedAmplifier

All Implemented Interfaces:
INeXusInfoWriteable, Device, Scannable, ScannableMotion, ScannableMotionUnits, Configurable, Findable, gda.observable.IObservable, org.springframework.beans.factory.InitializingBean

public class CalibratedAmplifier extends EpicsScannable
  • Constructor Details

    • CalibratedAmplifier

      public CalibratedAmplifier()
  • Method Details

    • isUnidirectrional

      public boolean isUnidirectrional()
    • setUnidirectrional

      public void setUnidirectrional(boolean unidirectrional)
    • isAutoGain

      public boolean isAutoGain()
    • setAutoGain

      public void setAutoGain(boolean autoGain)
    • getUpperThreshold

      public double getUpperThreshold()
    • setUpperThreshold

      public void setUpperThreshold(double upperThreshold)
    • getSettletime

      public long getSettletime()
    • setSettletime

      public void setSettletime(long settletime)
    • getScalingAndOffset

      public GainWithScalingAndOffset getScalingAndOffset()
    • setScalingAndOffset

      public void setScalingAndOffset(GainWithScalingAndOffset scalingAndOffset)
    • asynchronousMoveTo

      public void asynchronousMoveTo(Object externalPosition) throws DeviceException
      Description copied from class: ScannableBase
      Trigger a move/operation and return immediately. Implementations of this method should be non-blocking to allow concurrent motion; the isBusy method will be used to determine when the move has completed. Converts the external (user) position to an internal position and passes this to rawAsynchronousMoveTo.
      Specified by:
      asynchronousMoveTo in interface Scannable
      Overrides:
      asynchronousMoveTo in class ScannableMotionBase
      Parameters:
      externalPosition - Position to move to should have an element for each input field.
      Throws:
      DeviceException
    • getPosition

      public Object getPosition() throws DeviceException
      Description copied from class: ScannableBase
      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.
      Specified by:
      getPosition in interface Scannable
      Overrides:
      getPosition in class ScannableBase
      Returns:
      Current position with an element for each input and extra field. null if their are no fields.
      Throws:
      DeviceException