TANGO Helpers

This module provides utility functions for interacting with Tango devices.

class TangoDbAccessor(logger, tango_device_name)[source]

A class to access Tango device properties.

__init__(logger, tango_device_name)[source]
get_device_property_value(property_name)[source]

Read device property value from TangoDB.

Parameters:

property_name (str) – Tango device property name

Returns:

value for the given property

Return type:

Optional[str]

set_device_property_value(property_name, value)[source]

Set a device property value in TangoDB.

Parameters:
  • property_name (str) – Tango device property name

  • value (str) – Value to set for the property

Return type:

None