Logging:Samples Per File Property
- Updated2023-02-21
- 1 minute(s) read
Logging:Samples Per File Property
Short Name: Logging.SampsPerFile
Property of DAQmx Read
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 Logging.FilePath is changed while this attribute is set, the new file path takes effect on the next file created.
Remarks
The following table lists the characteristics of this property.
Permissions | read/write |
Resettable | yes |
Settable while task is running | device-specific |
Available in Run-Time Engine | yes |