Solution
The data from TDMS files can be merged into a single file by extracting the file contents and using the TDMS Write function to write the data to a new file.
The LabVIEW code below involves opening two separate TDMS files and sending the channel names and data to a TDMS Write function. The data from each file is stored under a separate group name in the new TDMS file.
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.