Logging >> Samples Per File
- Updated2023-03-16
- 1 minute(s) read
| 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