mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions#

Classes

Dry()

Home()

LNLSBaseAction()

Base class for both LNLSBeamlineActions and LNLSSampleChangerAction

LNLSBeamlineActions(name)

This class allows sample changer actions to be accessible from other classes of mxcubecore or from the 'Beamline Ations' options at frontend.

LNLSSampleChangerAction(movement_option)

MountAction()

Soak()

class mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions.Dry[source]#

Bases: LNLSSampleChangerAction

class mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions.Home[source]#

Bases: LNLSSampleChangerAction

class mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions.LNLSBaseAction[source]#

Bases: object

Base class for both LNLSBeamlineActions and LNLSSampleChangerAction

update_diffractometer_states(state_value)[source]#

Turn off all motors while robot is moving Make them ready again if robot is ready

class mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions.LNLSBeamlineActions(name)[source]#

Bases: LNLSBaseAction, BeamlineActions

This class allows sample changer actions to be accessible from other classes of mxcubecore or from the ‘Beamline Ations’ options at frontend. To use it at mxcubecore code:

from mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions import Mount mount = Mount() mount.mount(1)

To implement a button that performs these actions at ‘Beamline Actions’, implement the command at the yaml file.

YAML Example#

%YAML 1.2 — class: LNLS.LNLSBeamlineActions.LNLSBeamlineActions configuration: commands: [{

“type”: “controller”, “name”: “Soak”, “command”: “HardwareObjects.LNLS.LNLSBeamlineActions.Soak” }, { “type”: “controller”, “name”: “Dry”, “command”: “HardwareObjects.LNLS.LNLSBeamlineActions.Dry” }, { “type”: “controller”, “name”: “Home”, “command”: “HardwareObjects.LNLS.LNLSBeamlineActions.Home” }, ]

abort_command(cmd_name)[source]#

For the cases of Dry, Home and Soak, if robot movement gets aborted, call the bluesky API and allow motor movement after. There is no abort option for mount/unmount in the UI.

class mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions.LNLSSampleChangerAction(movement_option)[source]#

Bases: LNLSBaseAction

class mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions.MountAction[source]#

Bases: LNLSSampleChangerAction

class mxcubecore.HardwareObjects.LNLS.LNLSBeamlineActions.Soak[source]#

Bases: LNLSSampleChangerAction