Package gda.device
Interface AmplifierAutoGain
- All Superinterfaces:
Configurable,CurrentAmplifier,Device,Findable,gda.observable.IObservable,Scannable
- All Known Implementing Classes:
EpicsFemtoAmplifier,EpicsStanfordAmplifer
-
Nested Class Summary
Nested classes/interfaces inherited from interface gda.device.CurrentAmplifier
CurrentAmplifier.Status -
Field Summary
FieldsFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanDecrease the gain by one step in the current mode if possible.doubledoubledoublebooleandefault booleanIncrease the gain by one step in the current mode if possible.booleanincreaseOrDecreaseGain(int i) booleandefault voidAdjusts the gain of the current amplifier so the its output the ADC input is within the voltage bounds.Methods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.CurrentAmplifier
getCurrent, getGain, getGainPositions, getGainUnit, getGainUnits, getMode, getModePositions, getStatus, listGains, setGain, setGainUnit, setModeMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, isBusy, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString, waitWhileBusy
-
Field Details
-
logger
static final org.slf4j.Logger logger
-
-
Method Details
-
getUpperVoltageBound
double getUpperVoltageBound() -
getLowerVoltageBound
double getLowerVoltageBound() -
getInstantaneousVoltage
- Throws:
DeviceException
-
isSupportsCoupling
boolean isSupportsCoupling() -
hasMultipleModes
boolean hasMultipleModes() -
getCouplingMode
- Throws:
DeviceException
-
increaseOrDecreaseGain
- Throws:
DeviceException
-
optimiseGain
Adjusts the gain of the current amplifier so the its output the ADC input is within the voltage bounds.- Throws:
DeviceException
-
increaseGain
Increase the gain by one step in the current mode if possible.- Returns:
- true if the gain was changed
- Throws:
DeviceException
-
decreaseGain
Decrease the gain by one step in the current mode if possible.- Returns:
- true if the gain was changed
- Throws:
DeviceException
-