Package gda.device
Interface Temperature
- All Superinterfaces:
Configurable,Device,Findable,gda.observable.IObservable,Scannable
- All Known Implementing Classes:
DummyTemp,DummyTemperature,Eurotherm2K,GdaLakeshore340,Lakeshore340With4Outputs,Lauda,LinkamCI,LinkamT95,Marlow,OxfordCryostream700,SimpleEpicsTemperatureController,TemperatureBase
An interface to be implemented by distributed Temperature controllers
-
Field Summary
Fields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRamp(TemperatureRamp ramp) Adds a new rampvoidbegin()perform the start/restart up procedure of the controllervoidClears all specified rampsvoidend()perform the shutdown procedure of the controllerdoubleGet the current temperaturedoubleGet the lower operating temperature limitGet probe namesdoublegets the ramp ratedoubleGet the target temperaturedoubleGet the upper operating temperature limitvoidhold()Stops running ramps or moving to temperature but holds the current temperaturebooleanCheck the current temperature against the target temperaturebooleanGets the running state of the controllervoidsetLowerTemp(double lowLimit) Set to the lower operating temperaturevoidSelect probevoidsetRampRate(double rate) sets the ramp ratevoidsetRamps(List<TemperatureRamp> ramps) Sets a list of rampsvoidsetTargetTemperature(double target) Set the target or end temperaturevoidsetUpperTemp(double upperLimit) Set the upper operating temperaturevoidstart()Start running the rampsvoidstop()Stops running ramps or moving to temperature (allows the device to do whatever it does while not running programs), or in some case just hold the temperature positionvoidSuspend the current thread and wait for the controller to reach its target temperatureMethods 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, toFormattedString, waitWhileBusy
-
Method Details
-
getCurrentTemperature
Get the current temperature- Returns:
- the current temperature
- Throws:
DeviceException
-
setTargetTemperature
Set the target or end temperature- Parameters:
target- the target temperature- Throws:
DeviceException
-
getTargetTemperature
Get the target temperature- Returns:
- the target temperature
- Throws:
DeviceException
-
isAtTargetTemperature
Check the current temperature against the target temperature- Returns:
- true if current temperature equals target temperature
- Throws:
DeviceException
-
setLowerTemp
Set to the lower operating temperature- Parameters:
lowLimit- the lower temperature limit in degrees C- Throws:
DeviceException
-
setUpperTemp
Set the upper operating temperature- Parameters:
upperLimit- the upper temperature limit in degrees C- Throws:
DeviceException
-
getUpperTemp
Get the upper operating temperature limit- Returns:
- the upper temperature limit in degrees C
- Throws:
DeviceException
-
getLowerTemp
Get the lower operating temperature limit- Returns:
- the lower temperature limit in degrees C
- Throws:
DeviceException
-
getProbeNames
Get probe names- Returns:
- an array of probe names
- Throws:
DeviceException
-
setProbe
Select probe- Parameters:
probeName- the probe to use- Throws:
DeviceException
-
waitForTemp
Suspend the current thread and wait for the controller to reach its target temperature- Throws:
DeviceException
-
clearRamps
Clears all specified ramps- Throws:
DeviceException
-
addRamp
Adds a new ramp- Parameters:
ramp- the new TemperatureRamp to add- Throws:
DeviceException
-
start
Start running the ramps- Throws:
DeviceException
-
stop
Stops running ramps or moving to temperature (allows the device to do whatever it does while not running programs), or in some case just hold the temperature position- Specified by:
stopin interfaceScannable- Throws:
DeviceException
-
begin
perform the start/restart up procedure of the controller- Throws:
DeviceException
-
end
perform the shutdown procedure of the controller- Throws:
DeviceException
-
setRampRate
sets the ramp rate- Parameters:
rate-- Throws:
DeviceException
-
getRampRate
gets the ramp rate- Returns:
- rate
- Throws:
DeviceException
-
hold
Stops running ramps or moving to temperature but holds the current temperature- Throws:
DeviceException
-
setRamps
Sets a list of ramps- Parameters:
ramps- an ArrayListof TemperatureRamps - Throws:
DeviceException
-
isRunning
Gets the running state of the controller- Returns:
- true if controller is running a program or moving to a target false otherwise
- Throws:
DeviceException
-