Class RingCurrentMonitor

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

public class RingCurrentMonitor extends PVConditionMonitorBase
A zero-input, zero-output Scannable which when used in a scan will pause the scan if the machine ring current drops below 1mA.

It will resume the scan once the machine current returns.

This should be used with something else which checks for shutters etc. as the ring current returning should not be the only check to confirm beam is on target.

  • Constructor Details

    • RingCurrentMonitor

      public RingCurrentMonitor()
  • Method Details

    • testShouldPause

      protected void testShouldPause() throws DeviceException
      Description copied from class: BeamlineConditionMonitorBase
      The test is performed inside this method. An inheriting class could either wait inside this method until the condition has passed, or throw an Exception to end the scan, or throw a RedoScanLineThrowable to repeat the current scan.
      Specified by:
      testShouldPause in class BeamlineConditionMonitorBase
      Throws:
      DeviceException
      See Also:
    • machineHasCurrent

      protected boolean machineHasCurrent()
    • setRingCurrentPV

      public void setRingCurrentPV(String ringCurrentPV)
    • getRingCurrentPV

      public String getRingCurrentPV()