TemperatureCtrl

class lsst.ts.tunablelaser.TemperatureCtrl(csc, host='127.0.0.1', port=50000, terminator=b'\x03', encoding='ascii', simulation_mode=False)

Bases: CompoWayFModule

Implement the Omron Temperature Controller.

Parameters:
cscLaserCSC
The CSC object.
hoststring
The IP address of the temp controller
portint
The port of the temp controller
terminatorbytes
The terminating characters for sent/received messages.
encodingstr
The type of encoding to use.
simulation_modebool
Is the interface in simulation mode?
Attributes:
lockasyncio.Lock
A lock for writing/reading messages.
hoststring
The host for the temp controller to connect to during simulation mode

Attributes Summary

connected

Is the module connected?

temperature

Return temperature value.

Methods Summary

configure(config)

Configure the thermal controller.

connect()

Connect to the module.

disconnect()

Disconnect from the module.

laser_thermal_change_set_point(value)

Change the temperature set point value.

laser_thermal_turn_off()

Turn the heater and fans off.

laser_thermal_turn_on()

Turn the heater and fans on.

read_all_registers()

Read all of the registers.

Attributes Documentation

connected

Is the module connected?

temperature

Return temperature value.

Methods Documentation

async configure(config)

Configure the thermal controller.

async connect()

Connect to the module.

async disconnect()

Disconnect from the module.

async laser_thermal_change_set_point(value)

Change the temperature set point value.

async laser_thermal_turn_off()

Turn the heater and fans off.

async laser_thermal_turn_on()

Turn the heater and fans on.

async read_all_registers()

Read all of the registers.