def reset_trigger(nodemap):
    '\n    This function returns the camera to a normal state by turning off trigger mode.\n  \n    :param nodemap: Transport layer device nodemap.\n    :type nodemap: INodeMap\n    :returns: True if successful, False otherwise.\n    :rtype: bool\n    '
    try:
        result = True
        node_trigger_mode = PySpin.CEnumerationPtr(nodemap.GetNode('TriggerMode'))
        if ((not PySpin.IsAvailable(node_trigger_mode)) or (not PySpin.IsReadable(node_trigger_mode))):
            print('Unable to disable trigger mode (node retrieval). Aborting...')
            return False
        node_trigger_mode_off = node_trigger_mode.GetEntryByName('Off')
        if ((not PySpin.IsAvailable(node_trigger_mode_off)) or (not PySpin.IsReadable(node_trigger_mode_off))):
            print('Unable to disable trigger mode (enum entry retrieval). Aborting...')
            return False
        node_trigger_mode.SetIntValue(node_trigger_mode_off.GetValue())
        print('Trigger mode disabled...')
    except PySpin.SpinnakerException as ex:
        print(('Error: %s' % ex))
        result = False
    return result
This function returns the camera to a normal state by turning off trigger mode.

:param nodemap: Transport layer device nodemap.
:type nodemap: INodeMap
:returns: True if successful, False otherwise.
:rtype: bool
def reset_trigger(nodemap):
    '\n    This function returns the camera to a normal state by turning off trigger mode.\n  \n    :param nodemap: Transport layer device nodemap.\n    :type nodemap: INodeMap\n    :returns: True if successful, False otherwise.\n    :rtype: bool\n    '
    try:
        result = True
        node_trigger_mode = PySpin.CEnumerationPtr(nodemap.GetNode('TriggerMode'))
        if ((not PySpin.IsAvailable(node_trigger_mode)) or (not PySpin.IsReadable(node_trigger_mode))):
            print('Unable to disable trigger mode (node retrieval). Aborting...')
            return False
        node_trigger_mode_off = node_trigger_mode.GetEntryByName('Off')
        if ((not PySpin.IsAvailable(node_trigger_mode_off)) or (not PySpin.IsReadable(node_trigger_mode_off))):
            print('Unable to disable trigger mode (enum entry retrieval). Aborting...')
            return False
        node_trigger_mode.SetIntValue(node_trigger_mode_off.GetValue())
        print('Trigger mode disabled...')
    except PySpin.SpinnakerException as ex:
        print(('Error: %s' % ex))
        result = False
    return result