Example Code

Read a TDMS File, Take FFT and Write to TDMS File

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.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview

This example demonstrates how to load TDMS files and perform a FFT on the data.

 

Description

This VI will open a TDMS file take the FFT (Fast Fourier Transform) and write the results to a TDMS file. The VI uses express VIs to Read and write the TDMS file.

 

Requirements

 Software

  • LabVIEW Full Development System 2012 (or compatible)

 Hardware

  • No hardware is necessary to use this example VI

 

Steps to Implement or Execute Code

  1. Download and open the attached file
  2. Run the program

 

Additional Information or References

TDMS Read Write - Front Panel.png

 

TDMS Read Write - Block Diagram.png

 

**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**

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