Write_to_TDMS
Includes a path function to either open or create a file for output data calculations at a specific location. Timestamp are record to show how many times and when data is updated. The data is broken down by phase difference, amplitude, frequency, and damping. The data is in TDMS format.