Class Etfg

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

@ServiceInterface(Timer.class) public class Etfg extends Tfg
A timer class for the VME time frame generator (Version 2) card implemented using DA.Server Extended Tfg. Tfg is the original hardware.
  • Field Details

  • Constructor Details

    • Etfg

      public Etfg()
  • Method Details

    • getMaximumFrames

      public int getMaximumFrames()
      Description copied from interface: Timer
      Returns the total number of frame pairs supported (each specifying a live and a dead period)
      Specified by:
      getMaximumFrames in interface Timer
      Overrides:
      getMaximumFrames in class Tfg
      Returns:
      maximum number of time frames available
    • setMaximumFrames

      public void setMaximumFrames(int max)
    • setAttribute

      public void setAttribute(String attributeName, Object value) throws DeviceException
      Set attribute values for "Ext-Start", "Ext-Inhibit", "VME-Start" and "Auto-Continue"
      Specified by:
      setAttribute in interface Device
      Overrides:
      setAttribute in class Tfg
      Parameters:
      attributeName - the attribute name
      value - the attribute value
      Throws:
      DeviceException
    • setDriveAndInversion

      public void setDriveAndInversion(int drv, int inv) throws DeviceException
      Throws:
      DeviceException
    • setStartMethod

      public void setStartMethod(int startTrig) throws DeviceException
      Throws:
      DeviceException
    • getAttribute

      public Object getAttribute(String attributeName)
      Description copied from class: Tfg
      Get attribute values for "Ext-Start", "Ext-Inhibit".
      Specified by:
      getAttribute in interface Device
      Overrides:
      getAttribute in class Tfg
      Parameters:
      attributeName - the attribute name
      Returns:
      the attribute value