Package gda.device.temperature
Class EpicsLakeshore340Controller
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.temperature.EpicsLakeshore340Controller
- All Implemented Interfaces:
Device,ILakeshoreController,InitializationListener,Configurable,Findable,gda.observable.IObservable
public class EpicsLakeshore340Controller
extends DeviceBase
implements ILakeshoreController, InitializationListener
This class is designed to support Oxford Cryostream 700 and Phenix Crystat .
Example bean definition in Spring
<bean id="lakeshore_controller" class="gda.device.temperature.EpicsLakeshore340Controller">
<property name="pvName" value="ME01D-EA-TCTRL-01:"/>
<property name="local" value="true"/>
<property name="configureAtStartup" value="true"/>
</bean>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassMonitors the Hardware connection via EPICSclassmonitors the current temperature -
Field Summary
Fields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.temperature.ILakeshoreController
MAX_RAMP_RATE, MIN_RAMP_RATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialise the cryo controller object.Monitordoublegets channel 0 temperaturedoublegets channel 1 temperaturedoublegets channel 2 temperaturedoublegets channel 3 temperaturereturns the Hardware connection status in EPICS interfacegets the EPICS hardware connection state.intdoublegets the target temperaturedoublegetTemp()gets current temperaturevoidCalled when all critical channels are connected.booleancheck if the hardware is connected in EPICSvoidRe-initialisation of values and states.voidsetConnected(boolean connected) sets EPICS hardware connection statevoidsetDisbale(boolean bool) sets the EPICS hardware connection state: true - Disabled; false - EnabledvoidvoidsetReadbackChannel(int readbackChannel) voidsetTargetTemp(double k) Sets the demand temperature .Methods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, 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, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfiguredMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
EpicsLakeshore340Controller
public EpicsLakeshore340Controller()Constructor
-
-
Method Details
-
configure
Initialise the cryo controller object.Monitor- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException
-
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
-
getTargetTemp
gets the target temperature- Specified by:
getTargetTempin interfaceILakeshoreController- Returns:
- target temp
- Throws:
DeviceException
-
getTemp
gets current temperature- Specified by:
getTempin interfaceILakeshoreController- Returns:
- temp
- Throws:
DeviceException
-
getChannel0Temp
gets channel 0 temperature- Specified by:
getChannel0Tempin interfaceILakeshoreController- Returns:
- channel 0 temperature
- Throws:
DeviceException
-
getChannel1Temp
gets channel 1 temperature- Specified by:
getChannel1Tempin interfaceILakeshoreController- Returns:
- channel 1 temperature
- Throws:
DeviceException
-
getChannel2Temp
gets channel 2 temperature- Specified by:
getChannel2Tempin interfaceILakeshoreController- Returns:
- channel 2 temperature
- Throws:
DeviceException
-
getChannel3Temp
gets channel 3 temperature- Specified by:
getChannel3Tempin interfaceILakeshoreController- Returns:
- channel 3 temperature
- Throws:
DeviceException
-
setTargetTemp
Description copied from interface:ILakeshoreControllerSets the demand temperature . If ramping is enabled then the actual demand temperature will move towards this at the ramping rate.- Specified by:
setTargetTempin interfaceILakeshoreController- Parameters:
k-- Throws:
DeviceException
-
initializationCompleted
public void initializationCompleted()Description copied from interface:InitializationListenerCalled when all critical channels are connected.- Specified by:
initializationCompletedin interfaceInitializationListener
-
getConnectionState
returns the Hardware connection status in EPICS interface- Specified by:
getConnectionStatein interfaceILakeshoreController- Returns:
- Disabled or Enabled
-
isConnected
public boolean isConnected()check if the hardware is connected in EPICS- Specified by:
isConnectedin interfaceILakeshoreController- Returns:
- True or False
-
setConnected
public void setConnected(boolean connected) sets EPICS hardware connection state- Parameters:
connected-
-
setDisbale
sets the EPICS hardware connection state: true - Disabled; false - Enabled- Parameters:
bool-- Throws:
DeviceException
-
getDisable
gets the EPICS hardware connection state.- Returns:
- Disabled or Enabled
- Throws:
DeviceException
-
getReadbackChannel
public int getReadbackChannel()- Specified by:
getReadbackChannelin interfaceILakeshoreController
-
setReadbackChannel
public void setReadbackChannel(int readbackChannel) - Specified by:
setReadbackChannelin interfaceILakeshoreController
-
getPvName
-
setPvName
-