Lake Shore 331 temperature controller

This is the basic Python class to control the Lake Shore 331 temperature controller over EPICS.

Using EPICS Lake Shore 331 module

Usage of Python class for EPICS Lake Shore 331.

class py4syn.epics.LakeShore331Class.LakeShore331(pvPrefix='', mnemonic='', channel=0)[source]

Python class to help configuration and control of LakeShore 331 devices via Hyppie over EPICS.

Examples

>>> from py4syn.epics.LakeShore331 import LakeShore331
>>> ls331 = LakeShore331("DXAS:LS331", "ls331", channel=0)  # Use 1 for Ch B
>>> ls331.setValue(120)  # 120 degrees Celsius 

Constructor See py4syn.epics.StandardDevice

Parameters:
pvPrefix : string

LakeShore331’s device base naming of the PV (Process Variable); Like DXAS:LS331;

mnemonic : string

LakeShore331’s mnemonic

getAPIDD()[source]

Returns Value D of PID for channel A.

Returns:
Value: Integer, e.g.: 10

Examples

>>> ls331.getAPIDD()
>>> 31
getAPIDI()[source]

Returns Value I of PID for channel A.

Returns:
Value: Integer, e.g.: 10

Examples

>>> ls331.getAPIDI()
>>> 31
getAPIDP()[source]

Returns Value P of PID for channel A.

Returns:
Value: Integer, e.g.: 10

Examples

>>> ls331.getAPIDP()
>>> 31
getASetPoint()[source]

Returns setpoint value for channel A.

Returns:
Value: float, e.g.: 0.001

Examples

>>> ls331.getASetPoint()
>>> 67.87
getBPIDD()[source]

Returns Value D of PID for channel B.

Returns:
Value: Integer, e.g.: 10

Examples

>>> ls331.getBPIDD()
>>> 32
getBPIDI()[source]

Returns Value I of PID for channel B.

Returns:
Value: Integer, e.g.: 10

Examples

>>> ls331.getBPIDI()
>>> 32
getBPIDP()[source]

Returns Value P of PID for channel B.

Returns:
Value: Integer, e.g.: 10

Examples

>>> ls331.getBPIDP()
>>> 32
getBSetPoint()[source]

Returns setpoint value for channel B.

Returns:
Value: float, e.g.: 0.001

Examples

>>> ls331.getBSetPoint()
>>> 67.87
getCTempA()[source]

Returns channel A temperature in Celsius degrees.

Returns:
Value: float, e.g.: 0.001

Examples

>>> ls331.getCTempA()
>>> 32.56
getCTempB()[source]

Returns channel B temperature in Celsius degrees.

Returns:
Value: float, e.g.: 0.001

Examples

>>> ls331.getCTempB()
>>> 32.56
getHeat()[source]

Heater output query

Returns:
Value: Float, e.g.: 0.001

Examples

>>> ls331.getHeat()
>>> 51.530
getHeaterRange()[source]

Heater range command.

Returns:
Value: Float, e.g.: 0.001

Examples

>>> ls331.getHeaterRange()
>>> 51.530
getHighLimitValue()[source]

Gets …

Returns:
`float`
getKTempA()[source]

Returns channel A temperature in Kelvin.

Returns:
Value: float, e.g.: 0.001

Examples

>>> ls331.getKTempA()
>>> 32.56
getKTempB()[source]

Returns channel B temperature in Kelvin.

Returns:
Value: float, e.g.: 0.001

Examples

>>> ls331.getKTempB()
>>> 32.56
getLowLimitValue()[source]

Gets …

Returns:
`float`
getValue()[source]

Returns …

Returns:
`float`, Temperature in Celsius degrees
setAPIDD(pid_d)[source]

D parameter value of PID for channel A.

Parameters:
pid_d : integer
setAPIDI(pid_i)[source]

I parameter value of PID for channel A.

Parameters:
pid_i : integer
setAPIDP(pid_p)[source]

P parameter value of PID for channel A.

Parameters:
pid_p : integer
setASetPoint(setPoint)[source]

Set a setpoint value for channel A.

Parameters:
setPoint : float
setBPIDD(pid_d)[source]

D parameter value of PID for channel B.

Parameters:
pid_d : integer
setBPIDI(pid_i)[source]

I parameter value of PID for channel B.

Parameters:
pid_i : integer
setBPIDP(pid_p)[source]

P parameter value of PID for channel B.

Parameters:
pid_p : integer
setBSetPoint(setPoint)[source]

Set a setpoint value for channel B.

Parameters:
setPoint : float
setControlAPID(a_pid)[source]

PID for channel A.

Parameters:
a_pid : integer
setControlBPID(b_pid)[source]

PID for channel B.

Parameters:
b_pid : integer
setControlTrigger(trigger)[source]

Trigger.

Parameters:
trigger : integer
setHeaterRange(heaterRange)[source]

Heater range command.

Parameters:
heaterRange : float
setValue(temperature)[source]

Sets …

Parameters:
temperature : float, Temperature in Celsius degrees
wait()[source]

Wait…