NI-DAQ™mx C Reference

Logging >> File Pre-allocation Size

Data Type: uInt64
Description: Specifies a size in samples to be used to pre-allocate space on disk. Pre-allocation can improve file I/O performance, especially in situations where multiple files are being written to disk. For finite tasks, the default behavior is to pre-allocate the file based on the number of samples you configure the task to acquire.

You can get/set/reset this property using:
  DAQmxGetLoggingFilePreallocationSize
  DAQmxSetLoggingFilePreallocationSize
  DAQmxResetLoggingFilePreallocationSize

Log in to get a better experience