qcodes_contrib_drivers.drivers.Thermotek package

Submodules

qcodes_contrib_drivers.drivers.Thermotek.Thermotek_T255p module

class qcodes_contrib_drivers.drivers.Thermotek.Thermotek_T255p.ThermotekT255p(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

Driver for the Thermotek T255p laser chiller.

alarm_state() dict[str, bool][source]
ask(cmd: str) str[source]

Write a command string to the hardware and return a response.

Subclasses that transform cmd should override this method, and in it call super().ask(new_cmd). Subclasses that define a new hardware communication should instead override ask_raw.

Parameters:

cmd – The string to send to the instrument.

Returns:

response

Raises:

Exception – Wraps any underlying exception with extra context, including the command and the instrument.

get_idn() dict[str, str | None][source]

Parse a standard VISA *IDN? response into an ID dict.

Even though this is the VISA standard, it applies to various other types as well, such as IPInstruments, so it is included here in the Instrument base class.

Override this if your instrument does not support *IDN? or returns a nonstandard IDN string. This string is supposed to be a comma-separated list of vendor, model, serial, and firmware, but semicolon and colon are also common separators so we accept them here as well.

Returns:

A dict containing vendor, model, serial, and firmware.

status() dict[str, str][source]
write(cmd: str) None[source]

Write a command string with NO response to the hardware.

Subclasses that transform cmd should override this method, and in it call super().write(new_cmd). Subclasses that define a new hardware communication should instead override write_raw.

Parameters:

cmd – The string to send to the instrument.

Raises:

Exception – Wraps any underlying exception with extra context, including the command and the instrument.

enabled = Parameter( 'enabled', label='Chiller running', set_cmd='G{}', get_cmd=lambda: self._watchdog()[2], val_mapping=create_on_off_val_mapping('1', '0'), instrument=self )

Run Mode).

Type:

Mode Select (0

Type:

Stand By, 1

Module contents