def run_single_camera(cam):
    '\n    This function acts as the body of the example; please see NodeMapInfo example\n    for more in-depth comments on setting up cameras.\n\n    :param cam: Camera to run on.\n    :type cam: CameraPtr\n    :return: True if successful, False otherwise.\n    :rtype: bool\n    '
    try:
        result = True
        err = False
        nodemap_tldevice = cam.GetTLDeviceNodeMap()
        result &= print_device_info(nodemap_tldevice)
        cam.Init()
        nodemap = cam.GetNodeMap()
        if (configure_trigger(cam) is False):
            return False
        result &= acquire_images(cam, nodemap, nodemap_tldevice)
        result &= reset_trigger(nodemap)
        cam.DeInit()
    except PySpin.SpinnakerException as ex:
        print(('Error: %s' % ex))
        result = False
    return result
This function acts as the body of the example; please see NodeMapInfo example
for more in-depth comments on setting up cameras.

:param cam: Camera to run on.
:type cam: CameraPtr
:return: True if successful, False otherwise.
:rtype: bool
def run_single_camera(cam):
    '\n    This function acts as the body of the example; please see NodeMapInfo example\n    for more in-depth comments on setting up cameras.\n\n    :param cam: Camera to run on.\n    :type cam: CameraPtr\n    :return: True if successful, False otherwise.\n    :rtype: bool\n    '
    try:
        result = True
        err = False
        nodemap_tldevice = cam.GetTLDeviceNodeMap()
        result &= print_device_info(nodemap_tldevice)
        cam.Init()
        nodemap = cam.GetNodeMap()
        if (configure_trigger(cam) is False):
            return False
        result &= acquire_images(cam, nodemap, nodemap_tldevice)
        result &= reset_trigger(nodemap)
        cam.DeInit()
    except PySpin.SpinnakerException as ex:
        print(('Error: %s' % ex))
        result = False
    return result