TDMS Direct Integration in NI-DAQmx Logging

Publish Date: Jul 31, 2009 | 2 Ratings | 5.00 out of 5 |  PDF

Overview

The TDMS file format is the NI recommended file format for saving time-based measurement data to disk for high performance, usability, and reuse. With NI-DAQmx 9.0, TDMS file writing is now directly integrated into the NI-DAQmx driver for the easiest and fastest way to stream data to disk reaching speeds up to 1.2 GB/s.

DAQmx Configure Logging VI

NI-DAQmx 9.0 installs a new VI, DAQmx Configure Logging VI, which allows users to configure writing data to a TDMS file within a single VI on the DAQ palette.  Not only does this make it simple to use and integrate into existing data acquisition applications, but with under the hood optimizations, it is the fastest way to write data to disk.

Figure 1. The DAQmx Configure Logging VI allows users to set up data logging to TDMS before even starting the task

To optimize file writing speeds, NI-DAQmx can stream data directly from the device buffer to the hard disk bypassing the Windows, LabVIEW, and TDMS buffers. DAQmx Configure Logging VI also improves performance and reduces the disk footprint by writing raw data to the TDMS file, including the scaling information separately for use when reading back the TDMS file. These optimizations result in writing speeds up to 1.2 GB/s.

Once the Data has been stored to the TDMS file, you use the TDMS File API and TDMS File Viewer in LabVIEW, DIAdem, TDMS Excel Add-on, or other TDMS supported interfaces for reading and viewing the acquired data. Learn more about TDMS writing and reading interfaces.

Additional Resources

 

Back to Top

Bookmark & Share

Ratings

Rate this document

Answered Your Question?
Yes No

Submit