Write_Data_to_TDMS
Opens or creates a file at the specified path. Organizes the attribute data by channel name and data that corresponds to that specific channel, if more data come to that specific then a new column is made. The file also records the time stamp when and how many time the data came threw.