From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

DAQmx TDMS Data Logging - TDMS File Splitting

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Overview

This example works to split the data between multiple filesas Comb filters when logging data using DAQmx TDMS logging.

 

Description

When logging data using DAQmx TDMS logging, splitting the data between multiple files can make file sizes more manageable. TDMS file splitting was first supported in DAQmx 9.3. TDMS file splitting is enabled with the use of a property node.

 

Requirements

Software

  • LabVIEW 2012 or compatible
  • NI-DAQmx 9.5.5 or compatible

Hardware

  • NI Multifunction DAQ Device

 

Steps to Implement or Execute Code

  1. Configure the parameter for the right channel and device.
  2. Connect your hardware appropriately.
  3. Run the VI.

 

Additional Information or References

 

TDMS File Splitting.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Eric Liauw
Senior AE Specialist - Automated Test | CLD | CTA
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.