pylabrobot.liquid_handling.backends.hamilton.STAR.STAR.request_tip_len_on_channel#

async STAR.request_tip_len_on_channel(channel_idx: int) float#

Measures the length of the tip attached to the specified pipetting channel.

Checks if a tip is present on the given channel. If present, moves all channels to THE safe Z position, 334.3 mm, measures the tip bottom Z-coordinate, and calculates the total tip length. Supports tips of lengths 50.4 mm, 59.9 mm, and 95.1 mm. Raises an error if the tip length is unsupported or if no tip is present.

Parameters:

channel_idx (int) – Index of the pipetting channel (0-based).

Returns:

The measured tip length in millimeters.

Raises:

ValueError – If no tip is present on the channel or if the tip length is unsupported.

Return type:

float