mxcubecore.HardwareObjects.SOLEIL.TangoDCMotor#

Functions

test()

Classes

TangoDCMotor(name)

class mxcubecore.HardwareObjects.SOLEIL.TangoDCMotor.TangoDCMotor(name)[source]#

Bases: HardwareObject

get_state()[source]#

Getter for state attribute.

Implementations must query the hardware directly, to ensure current results.

Returns:

Current state.

Return type:

HardwareObjectState

is_ready()[source]#

Convenience function: Check if the object state is READY.

The same effect could be achieved with `python self.get_state() == self.STATES.READY `

Returns:

True if ready, otherwise False.

Return type:

bool

stop()[source]#

Gentler (?) alternative to abort.

Override as necessary to implement.