Heater

Eurotherm 2200

class nupylab.instruments.heater.eurotherm2200.Eurotherm2200(port: str, address: int, data_label: str, name: str = 'Eurotherm2200')

Bases: NupylabInstrument

Eurotherm 2200 instrument class. Abstracts driver for NUPyLab procedures.

data_label

label for DataTuple.

name

name of instrument.

lock

thread lock for preventing simultaneous calls to instrument.

eurotherm

Eurotherm driver class.

Initialize Eurotherm data label, name, and connection parameters.

Converts port ‘ASRL##::INSTR’ to form ‘COM##’ if necessary.

Parameters:
  • port – string name of port, e.g. COM1 or ASRL1::INSTR.

  • address – integer address of Eurotherm.

  • data_label – label for DataTuple. get_data() returns temperature, and corresponding label should match entry in DATA_COLUMNS of calling procedure class.

  • name – name of instrument.

connect() None

Connect to Eurotherm.

property finished: bool

Get whether Eurotherm program is finished. Read-only.

get_data() DataTuple

Read heater temperature.

Returns:

DataTuple with current temperature.

set_parameters(target_temperature: float, ramp_rate: float, dwell_time: float) None

Set Eurotherm program parameters.

Parameters:
  • target_temperature – target temperature in deg C.

  • ramp_rate – ramp rate in C/min.

  • dwell_time – dwell time in minutes.

shutdown()

Reset Eurotherm program and close serial connection.

start() None

End any active program, ramp to setpoint and dwell.

Raises:

NupylabError if start method is called before set_parameters.

stop_measurement()

Stop Eurotherm measurement. Not implemented.

Eurotherm 2400

class nupylab.instruments.heater.eurotherm2400.Eurotherm2400(port: str, address: int, data_label: str, name: str = 'Eurotherm2400')

Bases: NupylabInstrument

Eurotherm 2400 instrument class. Abstracts driver for NUPyLab procedures.

data_label

label for DataTuple.

name

name of instrument.

lock

thread lock for preventing simultaneous calls to instrument.

eurotherm

Eurotherm driver class.

Initialize Eurotherm data label, name, and connection parameters.

Converts port ‘ASRL##::INSTR’ to form ‘COM##’ if necessary.

Parameters:
  • port – string name of port, e.g. COM1 or ASRL1::INSTR.

  • address – integer address of Eurotherm.

  • data_label – label for DataTuple. get_data() returns temperature, and corresponding label should match entry in DATA_COLUMNS of calling procedure class.

  • name – name of instrument.

connect() None

Connect to Eurotherm.

property finished: bool

Get whether Eurotherm program is finished. Read-only.

get_data() DataTuple

Read heater temperature.

Returns:

DataTuple with current temperature.

set_parameters(target_temperature: float, ramp_rate: float, dwell_time: float) None

Set Eurotherm program parameters.

Parameters:
  • target_temperature – target temperature in deg C.

  • ramp_rate – ramp rate in C/min.

  • dwell_time – dwell time in minutes.

shutdown()

Reset Eurotherm program and close serial connection.

start() None

End any active program, ramp to setpoint and dwell.

Raises:

NupylabError if start method is called before set_parameters.

stop_measurement()

Stop Eurotherm measurement. Not implemented.

Eurotherm 3216

class nupylab.instruments.heater.eurotherm3216.Eurotherm3216(port: str, address: int, data_label: str, name: str = 'Eurotherm3216')

Bases: NupylabInstrument

Eurotherm 3216 instrument class. Abstracts driver for NUPyLab procedures.

data_label

label for DataTuples.

name

name of instrument.

lock

thread lock for preventing simultaneous calls to instrument.

eurotherm

Eurotherm driver class.

Initialize Eurotherm data label, name, and connection parameters.

Converts port ‘ASRL##::INSTR’ to form ‘COM##’ if necessary.

Parameters:
  • port – string name of port, e.g. COM1 or ASRL1::INSTR.

  • address – integer address of Eurotherm.

  • data_label – label for DataTuple. get_data() returns temperature, and corresponding label should match entry in DATA_COLUMNS of calling procedure class.

  • name – name of instrument.

connect() None

Connect to Eurotherm.

property finished: bool

Get whether Eurotherm program is finished. Read-only.

get_data() DataTuple

Read heater temperature.

Returns:

DataTuple with current temperature.

set_parameters(target_temperature: float, ramp_rate: float, dwell_time: float) None

Set Eurotherm program parameters.

Parameters:
  • target_temperature – target temperature in deg C.

  • ramp_rate – ramp rate in C/min.

  • dwell_time – dwell time in minutes.

shutdown()

Reset Eurotherm program and close serial connection.

start() None

End any active program, ramp to setpoint and dwell.

Raises:

NupylabError if start method is called before set_parameters.

stop_measurement()

Stop Eurotherm measurement. Not implemented.