pylabrobot.liquid_handling.backends.hamilton.base.HamiltonLiquidHandler

pylabrobot.liquid_handling.backends.hamilton.base.HamiltonLiquidHandler#

class pylabrobot.liquid_handling.backends.hamilton.base.HamiltonLiquidHandler(id_product: int, device_address: int | None = None, packet_read_timeout: int = 3, read_timeout: int = 30, write_timeout: int = 30)#

Bases: LiquidHandlerBackend, USBBackend

Abstract base class for Hamilton liquid handling robot backends.

Attributes

deck

module_id_length

The length of the module identifier in firmware commands.

num_channels

The number of channels that the robot has.

Methods

__init__(id_product[, device_address, ...])

param device_address:

The USB address of the Hamilton device. Only useful if using more than one

aspirate(ops, use_channels)

Aspirate liquid from the specified resource using pip.

aspirate96(aspiration)

Aspirate from all wells in 96 well plate.

assigned_resource_callback(resource)

Called when a new resource was assigned to the robot.

check_fw_string_error(resp)

Raise an error if the firmware response is an error response.

define_tip_needle(tip_type_table_index, ...)

Tip/needle definition in firmware.

deserialize(data)

Deserialize the backend.

dispense(ops, use_channels)

Dispense liquid from the specified resource using pip.

dispense96(dispense)

Dispense to all wells in 96 well plate.

drop_tips(ops, use_channels)

Drop tips from the specified resource.

drop_tips96(drop)

Drop tips to the specified resource using CoRe 96.

get_available_devices()

Get a list of available devices that match the specified vendor and product IDs, and serial number and address if specified.

get_id_from_fw_response(resp)

Get the id from a firmware response.

get_or_assign_tip_type_index(tip)

Get a tip type table index for the tip.

get_ttti(tips)

Get tip type table index for a list of tips.

list_available_devices()

Utility to list all devices that match the specified vendor and product IDs, and serial number and address if specified.

move_channel_x(channel, x)

Move the specified channel to the specified x coordinate.

move_channel_y(channel, y)

Move the specified channel to the specified y coordinate.

move_channel_z(channel, z)

Move the specified channel to the specified z coordinate.

move_resource(move)

Move a resource to a new location.

pick_up_tips(ops, use_channels)

Pick up tips from the specified resource.

pick_up_tips96(pickup)

Pick up tips from the specified resource using CoRe 96.

prepare_for_manual_channel_operation(channel)

Prepare the robot for manual operation.

read([timeout])

Read a response from the device.

send_command(module, command[, tip_pattern, ...])

Send a firmware command to the Hamilton machine.

send_raw_command(command[, write_timeout, ...])

Send a raw command to the machine.

serialize()

Serialize the backend so that an equivalent backend can be created by passing the dict as kwargs to the initializer.

set_deck(deck)

Set the deck for the robot.

setup()

Set up the robot.

stop()

Close the USB connection to the machine.

unassigned_resource_callback(name)

Called when a resource is unassigned from the robot.

write(data[, timeout])

Write data to the device.

Parameters:
  • id_product (int)

  • device_address (int | None)

  • packet_read_timeout (int)

  • read_timeout (int)

  • write_timeout (int)