Read and write TDMS files