def data_array_from_data_iterable(data_iterable):
try:<EOL><INDENT>data_array = np.concatenate([item[<NUM_LIT:0>] for item in data_iterable])<EOL><DEDENT>except ValueError:  <EOL><INDENT>data_array = np.empty(<NUM_LIT:0>, dtype=np.uint32)<EOL><DEDENT>return data_array<EOL>
Convert data iterable to raw data numpy array.

    Parameters
    ----------
    data_iterable : iterable
        Iterable where each element is a tuple with following content: (raw data, timestamp_start, timestamp_stop, status).

    Returns
    -------
    data_array : numpy.array
        concatenated data array