def METHOD_NAME(self, channel_name, attr_name, output, value, _ctrl=None):
    """ Set channel attribute """
    if _ctrl:
        channel = _ctrl.find_channel(channel_name, output)
    else:
        channel = self._ctrl.find_channel(channel_name, output)
    try:
        channel.attrs[attr_name].value = str(value)
    except Exception as ex:
        raise ex