示例#1
0
def set_trigger_str(handle, name, val):
    """ Create or update a string variable that can be read from a trigger.

        :param handle: Handle of the callback with the trigger.
        :type handle: int

        :param name: Name of the variable
        :type name: str

        :param val: Value for the variable, must be a string
        :type val: str

        :return: None
        :rtype: None
    """
    import c_api
    return c_api.set_trigger_str(handle, name, val)
示例#2
0
def set_trigger_str(handle, name, val):
    """ Create or update a string variable that can be read from a trigger.

        :param handle: Handle of the callback with the trigger.
        :type handle: int

        :param name: Name of the variable
        :type name: str

        :param val: Value for the variable, must be a string
        :type val: str

        :return: None
        :rtype: None
    """
    import c_api
    return c_api.set_trigger_str(handle, name, val)