Package gda.device
Interface ControlPoint
- All Superinterfaces:
Configurable,Device,Findable,gda.observable.IObservable,Scannable
- All Known Implementing Classes:
DummyControlPoint,EpicsControlPoint,EpicsControlPointWithStatus
Interface to control a Control Point
-
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Modifier and TypeMethodDescriptiondoublegetValue()Returns the latest value observed by this Control Point.voidsetLowerLimit(Double lowerLimit) voidsetUpperLimit(Double upperLimit) voidsetValue(double target) Set the target Control PointMethods 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
-
getValue
Returns the latest value observed by this Control Point.- Returns:
- the latest value of the monitor
- Throws:
DeviceException
-
setValue
Set the target Control Point- Parameters:
target- the target control point value- Throws:
DeviceException
-
getUpperLimit
Double getUpperLimit() -
setUpperLimit
-
getLowerLimit
Double getLowerLimit() -
setLowerLimit
-