pylabrobot.resources.hamilton.hamilton_decks.HamiltonDeck.get_or_create_autoload_loading_tray#

HamiltonDeck.get_or_create_autoload_loading_tray(name: str) Resource#

Get, or create once, the deck-owned loading tray the autoload draws carriers from.

It is placed against the deck features it lines up with: its left edge sits 104 mm left of the first carrier, and its front edge 380 mm in front of a carrier’s. It reaches the same 104 mm short of the deck’s right edge, so its width follows from the deck. Created as a child the first time and reused thereafter, so repeated setups do not duplicate it.

Its own track markings line up with the deck’s, so a carrier put on the tray at a track goes to that same track on the deck.

Parameters:

name (str) – what to call it.

Returns:

The tray resource, whether it was just created or already there.

Return type:

Resource