poolutil

Pool utils

Singletons

PoolUtil = <sardana.pool.poolutil._PoolUtil object>

Singleton instance of the _PoolUtil class.

It is a factory of tango.DeviceProxy objects and ensures only one instance of such objects is created for the whole process. Please refer to the _PoolUtil API on the available methods.

Classes

_PoolUtil

class _PoolUtil[source]

Bases: object

get_device(*args, **kwargs)[source]

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_motor(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_phy_motor(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_pseudo_motor(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_motor_group(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_exp_channel(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_ct_channel(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_zerod_channel(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_oned_channel(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_twod_channel(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_pseudo_counter_channel(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_measurement_group(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_com_channel(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object

get_ioregister(*args, **kwargs)

Factory method to create a single tango.DeviceProxy instance per controller instance.

Parameters:
  • ctrl_name – Controller name to which assign the proxy object

  • device_name – Tango device name

Return type:

DeviceProxy

Returns:

single device proxy object