mxcubecore.HardwareObjects.DESY.P11DoorInterlock

Classes

class mxcubecore.HardwareObjects.DESY.P11DoorInterlock.P11DoorInterlock(name)[source]

Bases: HardwareObject

breakInterlockEH()[source]

Command to break the interlock by sending a request to a URL.

fetch_url(url, timeout=3, retries=10)[source]

Fetch URL with retry mechanism.

get_state()[source]

Getter for state attribute.

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

Returns:

Current state.

Return type:

HardwareObjectState

init()[source]

‘public’ post-initialization method. Override as needed.

For ConfiguredObjects called after loading contained objects.