Prints information about the given device.

    Usage:
    print_device_info("Dev1")

def print_device_info(dev_name):
    """Prints information about the given device.

    Usage:
    print_device_info("Dev1")
    """
    string_buffer = ctypes.create_string_buffer(1024)
    attributes = [pydaq.DAQmx_Dev_ProductType, pydaq.DAQmx_Dev_SerialNum,
                  pydaq.DAQmx_Dev_AO_PhysicalChans,
                  pydaq.DAQmx_Dev_CI_PhysicalChans,
                  pydaq.DAQmx_Dev_CO_PhysicalChans,
                  pydaq.DAQmx_Dev_DO_Lines]
    attribute_names = ['DAQmx_Dev_ProductType',
                       'DAQmx_Dev_SerialNum',
                       'DAQmx_Dev_AO_PhysicalChans',
                       'DAQmx_Dev_CI_PhysicalChans',
                       'DAQmx_Dev_CO_PhysicalChans',
                       'DAQmx_Dev_DO_Lines']
    ret_values = []
    for a in attributes:
        pydaq.DAQmxGetDeviceAttribute(dev_name, a, string_buffer)
        ret_values.append(str(string_buffer.value))

    print('Device Name:\t' + dev_name)
    for n, v in zip(attribute_names, ret_values):
        print '\t' + n + ':\t' + v