Package gda.device.timer
Class Etfg
- All Implemented Interfaces:
Device,Timer,Configurable,Findable,gda.observable.IObservable
A timer class for the VME time frame generator (Version 2) card implemented using DA.Server
Extended Tfg. Tfg is the original hardware.
-
Nested Class Summary
Nested classes/interfaces inherited from class gda.device.timer.Tfg
Tfg.AttributeChange -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected intstatic final Stringprotected intstatic final Stringstatic final Stringprotected intstatic final StringFields inherited from class gda.device.timer.Tfg
AUTO_CONTINUE_ATTR_NAME, AUTO_REARM_ATTR_NAME, autoReArm, cycles, CYCLES, daServer, elapsedTime, ENDIAN, EXT_INHIBIT_ATTR_NAME, EXT_START_ATTR_NAME, extInh, extStart, FRAME_SETS, FRAMES_LOADED, framesLoaded, HOST, PASSWORD, runner, SOFTWARE_START_AND_TRIG_ATTR_NAME, softwareTriggering, started, startTime, timeFrameProfile, TOTAL_EXP_TIME, TOTAL_FRAMES, totalExptTime, totalFrames, USER, VERSION, VME_START_ATTR_NAME, vmeStart, waitingForExtStartFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attributeName) Get attribute values for "Ext-Start", "Ext-Inhibit".intReturns the total number of frame pairs supported (each specifying a live and a dead period)voidsetAttribute(String attributeName, Object value) Set attribute values for "Ext-Start", "Ext-Inhibit", "VME-Start" and "Auto-Continue"voidsetDriveAndInversion(int drv, int inv) voidsetMaximumFrames(int max) voidsetStartMethod(int startTrig) Methods inherited from class gda.device.timer.Tfg
addFrameSet, addFrameSet, checkOKToSendCommand, clearFrameSets, close, configure, cont, countAsync, getAcqStatus, getCurrentCycle, getCurrentDeadTime, getCurrentFrame, getCurrentFrames, getCurrentLiveTime, getDaServer, getDaServerName, getFramesets, getProgress, getStatus, getTotalCycles, getTotalExptTime, getTotalFrames, getUpdateInterval, isMonitorInBackground, isShowArmed, loadFrameSets, output, reconfigure, restart, setCycles, setDaServer, setDaServerName, setFail, setMonitorInBackground, setShowArmed, setUpdateInterval, shutdown, start, stopMethods inherited from class gda.device.DeviceBase
addIObserver, deleteIObserver, deleteIObservers, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfiguredMethods inherited from interface gda.device.Device
getProtectionLevel, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Field Details
-
START_METHOD
- See Also:
-
DEBOUNCE
- See Also:
-
DRIVE
- See Also:
-
THRESHOLD
- See Also:
-
INVERSION
- See Also:
-
debounceValues
-
thresholdValues
-
drive
protected int drive -
inversion
protected int inversion -
startMethod
protected int startMethod
-
-
Constructor Details
-
Etfg
public Etfg()
-
-
Method Details
-
getMaximumFrames
public int getMaximumFrames()Description copied from interface:TimerReturns the total number of frame pairs supported (each specifying a live and a dead period)- Specified by:
getMaximumFramesin interfaceTimer- Overrides:
getMaximumFramesin classTfg- Returns:
- maximum number of time frames available
-
setMaximumFrames
public void setMaximumFrames(int max) -
setAttribute
Set attribute values for "Ext-Start", "Ext-Inhibit", "VME-Start" and "Auto-Continue"- Specified by:
setAttributein interfaceDevice- Overrides:
setAttributein classTfg- Parameters:
attributeName- the attribute namevalue- the attribute value- Throws:
DeviceException
-
setDriveAndInversion
- Throws:
DeviceException
-
setStartMethod
- Throws:
DeviceException
-
getAttribute
Description copied from class:TfgGet attribute values for "Ext-Start", "Ext-Inhibit".- Specified by:
getAttributein interfaceDevice- Overrides:
getAttributein classTfg- Parameters:
attributeName- the attribute name- Returns:
- the attribute value
-