Package gda.device.temperature
Class Eurotherm2K
- All Implemented Interfaces:
INeXusInfoWriteable,Device,Scannable,ScannableMotion,Temperature,Configurable,Findable,gda.observable.IObservable,gda.observable.IObserver,AlarmListener
Class that supports Eurotherm 2000 series temperature controller.
-
Field Summary
Fields inherited from class gda.device.temperature.TemperatureBase
bufferedData, busy, count, currentRamp, currentTemp, dataFileWriter, dataWriter, fileSuffix, LONG_POLL_TIME, longPollTime, lowerTemp, POLL_TIME, pollTime, probeNameList, rampList, setPoint, SHORT_POLL_TIME, targetTemp, timeSinceStart, upperTempFields inherited from class gda.device.scannable.ScannableMotionBase
numberTries, toleranceFields inherited from class gda.device.scannable.ScannableBase
__doc__, DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_FORMAT, extraNames, inputNames, level, outputFormatFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLEFields inherited from interface gda.device.ScannableMotion
FIRSTINPUTLIMITS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.protected voiddoStart()protected voiddoStop()voidend()move device to room temperature perform the shutdown procedure of the temperature controller, i.e.doubleGet the current temperaturedoublegets the ramp ratedoubleGet the target temperaturevoidhold()Stops running ramps or moving to temperature but holds the current temperaturebooleanisBusy()Check if the Scannable is moving/operating.voidrawAsynchronousMoveTo(Object position) [Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.[Consider abstract] Read the position in its internal (user) representation.voidRe-initialisation of values and states.voidrunRamp()Run the ramp sequence.protected voidsendRamp(int which) program a temperature ramp into hardware, this does not initiate the program, it validates the target temperature and ramp rate.voidInitiate the programmed temperature ramp in the hardware.voidsetController(EpicsEurotherm2kController controller) voidsetControllerName(String controllerName) protected voidsetHWLowerTemp(double lowerTemp) protected voidsetHWUpperTemp(double upperTemp) voidsetRampRate(double rate) sets the ramp rateprotected voidprotected voidstarts towards a single target temperature at current ramp rate Should send hardware commands to start heating or cooling towards a single targetTempvoidtoString()voidMethods inherited from class gda.device.temperature.TemperatureBase
addRamp, alarm, begin, cancelAlarm, clearRamps, getAccuracy, getCurrentPositionArray, getDataDimensions, getFileSuffix, getLowerTemp, getPolltime, getProbeNames, getUpperTemp, isAtTargetTemperature, isRunning, readout, setAccuracy, setFileSuffix, setLowerTemp, setPolltime, setProbe, setProbeNames, setRamps, setTargetTemperature, setUpdatePeriod, setUpperTemp, start, startHoldTimer, startPoller, stop, stopPoller, waitForTempMethods inherited from class gda.device.scannable.ScannableMotionBase
a, addPositionValidator, ar, asynchronousMoveTo, checkPositionValid, checkPositionWithinGdaLimits, checkPositionWithinGdaLimits, completeInstantiation, externalToInternal, generateScannableLimitsReport, getAdditionalPositionValidators, getAttribute, getFirstInputLimits, getInputLimits, getInputLimits, getLimitsComponent, getLowerGdaLimits, getNumberTries, getOffset, getScalingFactor, getTolerances, getUpperGdaLimits, internalToExternal, isAt, moveTo, r, rawIsBusy, removePositionValidator, setAdditionalPositionValidators, setLimitsComponent, setLowerGdaLimits, setLowerGdaLimits, setNumberTries, setOffset, setOffsetAndScalingComponent, setScalingFactor, setTolerance, setTolerances, setUpperGdaLimits, setUpperGdaLimits, toFormattedString, writeNeXusInformation, writeNeXusInformationLimitsMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, validateScannable, valueUnavailableString, waitWhileBusy, waitWhileBusyMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfiguredMethods 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, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, toFormattedString, waitWhileBusy
-
Constructor Details
-
Eurotherm2K
public Eurotherm2K()Constructor
-
-
Method Details
-
configure
Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classTemperatureBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
reconfigure
Description copied from interface:ConfigurableRe-initialisation of values and states.Moved from Reconfigurable which has been deleted
- Specified by:
reconfigurein interfaceConfigurable- Overrides:
reconfigurein classConfigurableBase- Throws:
FactoryException
-
getCurrentTemperature
Description copied from interface:TemperatureGet the current temperature- Specified by:
getCurrentTemperaturein interfaceTemperature- Returns:
- the current temperature
- Throws:
DeviceException
-
getTargetTemperature
Get the target temperature- Specified by:
getTargetTemperaturein interfaceTemperature- Overrides:
getTargetTemperaturein classTemperatureBase- Returns:
- the target temperature
- Throws:
DeviceException
-
doStart
- Specified by:
doStartin classTemperatureBase- Throws:
DeviceException
-
hold
Description copied from interface:TemperatureStops running ramps or moving to temperature but holds the current temperature- Specified by:
holdin interfaceTemperature- Throws:
DeviceException
-
runRamp
Description copied from class:TemperatureBaseRun the ramp sequence.- Specified by:
runRampin classTemperatureBase- Throws:
DeviceException
-
sendRamp
program a temperature ramp into hardware, this does not initiate the program, it validates the target temperature and ramp rate.- Specified by:
sendRampin classTemperatureBase- Throws:
DeviceException- See Also:
-
sendStart
Initiate the programmed temperature ramp in the hardware.- Throws:
DeviceException
-
startNextRamp
- Specified by:
startNextRampin classTemperatureBase- Throws:
DeviceException
-
doStop
- Specified by:
doStopin classTemperatureBase- Throws:
DeviceException
-
startTowardsTarget
starts towards a single target temperature at current ramp rate Should send hardware commands to start heating or cooling towards a single targetTemp- Specified by:
startTowardsTargetin classTemperatureBase- Throws:
DeviceException- See Also:
-
setRampRate
sets the ramp rate- Specified by:
setRampRatein interfaceTemperature- Overrides:
setRampRatein classTemperatureBase- Parameters:
rate-- Throws:
DeviceException
-
getRampRate
gets the ramp rate- Specified by:
getRampRatein interfaceTemperature- Overrides:
getRampRatein classTemperatureBase- Returns:
- rate
- Throws:
DeviceException
-
end
move device to room temperature perform the shutdown procedure of the temperature controller, i.e. properly running hardware warm-up or cool-down procedures perform the shutdown procedure of the controller- Specified by:
endin interfaceTemperature- Overrides:
endin classTemperatureBase- Throws:
DeviceException- See Also:
-
temperatureUpdate
public void temperatureUpdate()- Specified by:
temperatureUpdatein classTemperatureBase
-
getControllerName
- Returns:
- controllerName
-
setControllerName
- Parameters:
controllerName-
-
setController
- Parameters:
controller- the controller
-
getController
- Returns:
- EpicsEurotherm2kController
-
update
- Specified by:
updatein interfacegda.observable.IObserver
-
rawAsynchronousMoveTo
Description copied from class:ScannableBase[Consider abstract] Trigger a move/operation to an internal/hardware position and return immediately.- Overrides:
rawAsynchronousMoveToin classTemperatureBase- Parameters:
position- Position in its internal/hardware representation. e.g. with units and offsets removed- Throws:
DeviceException- See Also:
-
rawGetPosition
Description copied from class:ScannableBase[Consider abstract] Read the position in its internal (user) representation.- Overrides:
rawGetPositionin classTemperatureBase- Returns:
- the value represented by this Scannable
- Throws:
DeviceException- See Also:
-
isBusy
Description copied from class:ScannableMotionBaseCheck if the Scannable is moving/operating.. Calls onto rawIsBusy for historical reasons, although there is currently no need for this.- Specified by:
isBusyin interfaceScannable- Overrides:
isBusyin classTemperatureBase- Returns:
- true - if operation carried out by moveTo has not completed yet
- Throws:
DeviceException- See Also:
-
toString
- Overrides:
toStringin classScannableBase
-
setHWLowerTemp
- Specified by:
setHWLowerTempin classTemperatureBase- Parameters:
lowerTemp-- Throws:
DeviceException
-
setHWUpperTemp
- Specified by:
setHWUpperTempin classTemperatureBase- Parameters:
upperTemp-- Throws:
DeviceException
-