Package gda.device
Interface CurrentAmplifier
- All Superinterfaces:
Configurable,Device,Findable,gda.observable.IObservable,Scannable
- All Known Subinterfaces:
AmplifierAutoGain,StanfordAmplifier
- All Known Implementing Classes:
CurrentAmplifierBase,DummyCurrentAmplifier,DummyEpicsCurrAmpSingle,DummyStanfordScannable,EpicsCurrAmpSingle,EpicsFemtoAmplifier,EpicsStanfordAmplifer,StanfordScannable
Interface for EPICS single channel current amplifier.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumdefines the overload status of the amplifier -
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Modifier and TypeMethodDescriptiondoublereturns the current valuegetGain()returns the current gain positionString[]Returns an array of all possible gain positions which this device can be moved to.returns the current gain unitString[]Returns an array of all possible gain units which this device can be moved to.getMode()gets the amplifier's mode of operationString[]Returns an array of all possible mode positions which this device can be set to.Returns the overload statusvoidreturns a parsed list of gains available for this amplifier.voidMoves amplifier's gain to the named position.voidsetGainUnit(String unit) Moves amplifier's gain unit to the named unit.voidsets the amplifier's mode of operationMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods 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
-
Method Details
-
getGainPositions
Returns an array of all possible gain positions which this device can be moved to.- Returns:
- an array of gain positions
- Throws:
DeviceException
-
getGainUnits
Returns an array of all possible gain units which this device can be moved to.- Returns:
- an array of gain units
- Throws:
DeviceException
-
getModePositions
Returns an array of all possible mode positions which this device can be set to.- Returns:
- an array of mode positions
- Throws:
DeviceException
-
setGain
Moves amplifier's gain to the named position.- Parameters:
position-- Throws:
DeviceException
-
getGain
returns the current gain position- Returns:
- gain position
- Throws:
DeviceException
-
setGainUnit
Moves amplifier's gain unit to the named unit.- Parameters:
unit-- Throws:
DeviceException
-
getGainUnit
returns the current gain unit- Returns:
- gain unit
- Throws:
DeviceException
-
getCurrent
returns the current value- Returns:
- current
- Throws:
DeviceException
-
setMode
sets the amplifier's mode of operation- Parameters:
mode-- Throws:
DeviceException
-
getMode
gets the amplifier's mode of operation- Returns:
- mode
- Throws:
DeviceException
-
getStatus
Returns the overload status- Returns:
- the status
- Throws:
DeviceException
-
listGains
returns a parsed list of gains available for this amplifier.- Throws:
DeviceException
-