Lauda thermostats¶
This is the basic Python class to control Lauda thermostats over EPICS.
Using EPICS Lauda thermostats module¶
Usage of Python class for EPICS Lauda thermostats.
-
class
py4syn.epics.LaudaClass.
Lauda
(pvName, mnemonic)[source]¶ Class to control Lauda temperature controllers via EPICS.
Examples
>>> from py4syn.epics.LaudaClass import Lauda >>> >>> def showTemperature(pv): ... lauda = Lauda(pv, 'lauda') ... print('Temperature is: %d' % lauda.getValue()) ... >>> def setTemperature(lauda, temperature): ... lauda.setValue(temperature) ... lauda.run()
Constructor See
py4syn.epics.StandardDevice
Parameters: - pvName : string
Power supply base naming of the PV (Process Variable)
- mnemonic : string
Temperature controller mnemonic
-
changePump
(val)[source]¶ Same as
setPumpSpeed()
.See
setPumpSpeed()
Parameters: - val : int
The requested pump speed.
-
changeSetPoint
(val)[source]¶ Same as
setValue()
.See
setValue()
Parameters: - val : int
The requested temperature.
-
getInternalTemp
()[source]¶ Same as
getValue()
.See
getValue()
Returns: - `int`
-
getRealPosition
()[source]¶ Returns the same as
getValue()
.See:
getValue()
Returns: - `int`
-
onTemperatureChange
(**kwargs)[source]¶ Helper callback that indicates when the measured temperature changed.
-
setPumpSpeed
(speed)[source]¶ Changes the pump speed.
Parameters: - speed : int
The requested pump speed, ranging from 1 to 8.
-
setValue
(v)[source]¶ Changes the temperature to a new value.
Parameters: - v : int
The target temperature in °C