pylabrobot.liquid_handling.backends.http.HTTPBackend#
- class pylabrobot.liquid_handling.backends.http.HTTPBackend(host: str, port: int, num_channels: int, protocol: str = 'http', base_path: str = 'events')#
Bases:
SerializingBackend
A backend that sends commands over HTTP(s).
This backend is used when you want to run a
LiquidHandler
locally and have a server communicating with the robot elsewhere.Note
This backend is designed to work with the PyLabRobot server.
Attributes
The number of channels that the robot has.
Methods
__init__
(host, port, num_channels[, ...])Create a new web socket backend.
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.
deserialize
(data)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.
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, **backend_kwargs)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.
send_command
(command[, data])Send an event to the server.
set_deck
(deck)Set the deck for the robot.
setup
()Set up the robot.
stop
()Called when a resource is unassigned from the robot.