mxcubecore.Command.Tango#

Functions

process_tango_events()

Classes

E(event)

TangoChannel(name, attribute_name[, ...])

TangoCommand(name, command[, tangoname, ...])

class mxcubecore.Command.Tango.TangoChannel(name, attribute_name, tangoname=None, username=None, polling=None, timeout=10000, **kwargs)[source]#

Bases: ChannelObject

get_value()[source]#

Get channel value.

Parameters:

force (bool, optional) – Force get value. Defaults to False.

Raises:

NotImplementedError – If method has not been implemented for this object.

is_connected()[source]#

Check if signal is connected.

Returns:

True if connected, else False.

Return type:

bool

stop_polling()[source]#

Stop polling the underlying Tango attribute.

If this channel is currently polling its tango attribute, via ‘attribute read’ calls, stop polling.

If no polling is active, this method does nothing.

update(value=<mxcubecore.Poller._NotInitializedValue object>)[source]#

Update command object.

Parameters:

value (Any) – Updated value.

class mxcubecore.Command.Tango.TangoCommand(name, command, tangoname=None, username=None, **kwargs)[source]#

Bases: CommandObject

is_connected()[source]#

Check if signal is connected.

Returns:

True if connected, else False.

Return type:

bool