Logging >> Samples Per File

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)
Data Type: uInt64
Description: Specifies how many samples to write to each file. When the file reaches the number of samples specified, a new file is created with the naming convention of <filename>_####.tdms, where #### starts at 0001 and increments automatically with each new file. For example, if the file specified is C:\data.tdms, the next file name used is C:\data_0001.tdms. To disable file spanning behavior, set this attribute to 0. If File Path is changed while this attribute is set, the new file path takes effect on the next file created.


You can get/set/reset this property using:

  DAQmxGetLoggingSampsPerFile

  DAQmxSetLoggingSampsPerFile

  DAQmxResetLoggingSampsPerFile

WAS THIS ARTICLE HELPFUL?

Not Helpful