Package gda.device
Interface ISpin
- All Superinterfaces:
Configurable,Device,Findable,gda.observable.IObservable,Scannable
- All Known Implementing Classes:
DummySpinner,Spin,Spinner
ISpin Interface
-
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Methods 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
-
on
enable spin or switch on spin- Throws:
DeviceException
-
off
disable spin or switch off spin- Throws:
DeviceException
-
setSpeed
set spin speed- Parameters:
speed-- Throws:
DeviceException
-
getSpeed
get spin speed- Returns:
- spin speed
- Throws:
DeviceException
-
getState
check spin state - i.e. Enabled or Disabled- Returns:
- spin state
- Throws:
DeviceException
-