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:
- Attributes:
- lock
asyncio.Lock
- A lock for writing/reading messages.
- host
string
- The host for the temp controller to connect to during simulation mode
- lock
Attributes Summary
Is the module connected?
Return temperature value.
Methods Summary
configure
(config)Configure the thermal controller.
connect
()Connect to the module.
Disconnect from the module.
Change the temperature set point value.
Turn the heater and fans off.
Turn the heater and fans on.
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.