How to Save Data to a Series of Files

Updated Oct 24, 2020

Currently I am writing data to a measurement file, but I would like to split up the data into separate files based on either the number of data points, or the date and time. Is there a way to do so? 

Yes; there are a few methods you can use to split up your data into multiple files. 

First method is by using the Write To Measurement File Express VI and configuring the Settings for multiple files. 

From the Configure Multi-file Settings Dialog Box, you can set the conditions for starting a new file such as the image below. 

Another method is by using the DAQmx Read property Logging:Samples Per File. You can check for specific instructions from How to Log Data Across Multiple TDMS Files with DAQmx