lauda
Lauda class for Lauda chillers.
Classes
|
SCPIInstrument implementation for Lauda chillers. |
Lauda
- class icicle.lauda.Lauda(*args, **kwargs)
Bases:
SCPIInstrument
SCPIInstrument implementation for Lauda chillers.
This class has been developed using the documentation for Lauda Eco Gold thermostats and tested using a Lauda Proline Kryomat RP 3090 CW chiller. This should work for other Lauda thermostats and chillers too.
- __init__(resource='ASRL11::INSTR', sim=False)
- Parameters:
resource – VISA Resource address. See VISA docs for more info.
- BAUD_RATE = 9600
Serial link Baud rate.
- COM_RESET = ''
Instrument Reset SCPI command.
- MEASURE_COMMAND_MAP = {'TEMP:BATH': 'TEMPERATURE_BATH', 'TEMP:EXT': 'TEMPERATURE_EXTERNAL'}
- MEASURE_TYPES = {'TEMP:BATH': 'Bath Temperature (°C)', 'TEMP:EXT': 'Ext Temperature (°C)'}
Measurement types for the Lauda chiller.
- class MeasureChannel(instrument, channel, measure_type, unit='')
Bases:
MeasureChannel
MeasureChannel implementation for Lauda chillers.
- property status
- Returns:
Diagnostics returned by
STAT
query.
- property value
Performs measurement and returns value.
- Returns:
measured value.
- Return type:
float
- READ_TERMINATION = '\r\n'
Read termination characters.
- REGISTERS = {'DIAGNOSTICS': 'Diagnostic register'}
- SETTINGS = {'COMMAND': {'SET': '{}'}, 'DIAGNOSTICS': {'QUERY': 'STAT', 'parser': <function numeric_int>}, 'IDENTIFIER': {'QUERY': 'TYPE'}, 'OPERATION': {'QUERY': 'IN_MODE_02', 'parser': <function numeric_bool>}, 'START': {'SET': 'START'}, 'STATUS': {'QUERY': 'STATUS', 'parser': <function numeric_int>}, 'STOP': {'SET': 'STOP'}, 'SYSTEM_MODE': {'QUERY': 'IN_MODE_00', 'SET': 'OUT_MODE_00_{}', 'parser': <function int_map.<locals>.int_map_>, 'verifier': <function map_to.<locals>._is_in>}, 'TEMPERATURE_BATH': {'QUERY': 'IN_PV_00', 'parser': <function numeric_float>}, 'TEMPERATURE_EXTERNAL': {'QUERY': 'IN_PV_01', 'parser': <function numeric_float>}, 'TEMPERATURE_REFERENCE': {'QUERY': 'IN_MODE_01', 'SET': 'OUT_MODE_01_{}', 'parser': <function numeric_int>, 'verifier': <function is_integer.<locals>._is_integer>}, 'TEMPERATURE_TARGET': {'QUERY': 'IN_SP_00', 'SET': 'OUT_SP_00_{:.2f}', 'parser': <function numeric_float>, 'verifier': <function is_numeric.<locals>._is_numeric>}, 'TYPE': {'QUERY': 'TYPE'}}
Settings dictionary with all Set/Query SCPI combinations.
- TIMEOUT = 10000
Serial link timeout.
- WRITE_TERMINATION = '\r\n'
Write termination characters.
- validate_channel(channel, raise_exception=True)
Check if an channel exists on this device. Only successful if channel == 1.
- Parameters:
channel – Channel number to validate as an input