dodal.devices.robot.BartRobot#

class dodal.devices.robot.BartRobot[source]#

The sample changing robot.

Parameters:
  • prefix (str)

  • name (str, default: '')

Methods

beamline_status_or_error(expected_state)

This co-routine will finish when either the beamline reaches the specified state or the robot gives an error (whichever happens first).

set(value)

Perform a sample load from the specified sample location :type value: SampleLocation :param value: The pin and puck to load, or SAMPLE_LOCATION_EMPTY to unload the sample.

Attributes

LIGHT_CURTAIN_TRIPPED

LOAD_TIMEOUT

LOAD_TOLERANCE_MM

NOT_BUSY_TIMEOUT

NO_ERROR

NO_PIN_ERROR_CODE

async beamline_status_or_error(expected_state: BeamlineStatus)[source]#

This co-routine will finish when either the beamline reaches the specified state or the robot gives an error (whichever happens first). In the case where there is an error a RobotLoadError error is raised.

Parameters:

expected_state (BeamlineStatus)

set(value: SampleLocation)[source]#

Perform a sample load from the specified sample location :type value: SampleLocation :param value: The pin and puck to load, or SAMPLE_LOCATION_EMPTY to unload the sample.

Raises:

RobotLoadError if a timeout occurs, or if an error occurs loading the sample.