mxcubecore.HardwareObjects.AutoPowerSardanaMotor#

Classes

AutoPowerSardanaMotor(name)

Adds auto power-on feature to a SardanaMotor.

class mxcubecore.HardwareObjects.AutoPowerSardanaMotor.AutoPowerSardanaMotor(name)[source]#

Bases: SardanaMotor

Adds auto power-on feature to a SardanaMotor.

This hardware object powers on the underlying motor, before it is moved.

It is assumed that the sardana movable have a boolean ‘PowerOn’ property. Setting this property to True will power on the underlying motors of the movable.

init()[source]#

Initialise tolerance property