NI-DAQmx Properties

Content Type
Programming Language
Current manual

Logging:Samples Per File Property

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.

Permissionsread/write
Resettableyes
Settable while task is runningdevice-specific
Available in Run-Time Engineyes
In This Section
Was this information helpful?