mxcubecore.HardwareObjects.DESY.P11SampleChanger#

Classes

P11SampleChanger(*args, **kwargs)

class mxcubecore.HardwareObjects.DESY.P11SampleChanger.P11SampleChanger(*args, **kwargs)[source]#

Bases: SampleChanger

init()[source]#

HardwareObject init method

load(sample=None, wait=True)[source]#

Load a sample.

Parameters:
  • sample (tuple) – sample address on the form (component1, … ,component_N-1, component_N)

  • wait (boolean) – True to wait for load to complete False otherwise

Returns
(Object): Value returned by _execute_task either a Task or result of the

operation

unload(**kwargs)#

Unload sample to location sample_slot, unloads to the same slot as it was loaded from if None is passed

Parameters:
  • sample_slot (tuple) – sample address on the form (component1, … ,component_N-1, component_N)

  • wait – If True wait for unload to finish otherwise return immediately

Returns:

Value returned by _execute_task either a Task or result of the

operation

Return type:

(Object)