Example Code

Signal Express Decimated Data Removal Using LabVIEW

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

 

Overview
This VI removes groups of decimated data from TDMS files, added by NI SignalExpress, this data is only used by SignalExpress for display purposes, and so isn't neccessary in other applications (like DIAdem). This VI was created as people appeared to be having trouble using the plugin that exists for this.

 
Description
This VI opens and reads a TDMS file saved from SignalExpress. All groups with the word "Decimated" in the name will be removed, and then either the file will be replaced, or a new file created, as chosen by the user. It works by searching for the word decimated and not including this in the data that is re-saved

 
Requirements

  • LabVIEW 2013 (or compatible) 


Steps to Implement or Execute Code

  1. Open VI
  2. Select mode dependent on requirements, either create a new file that will have the correct formatting, or replace the existing file with the newly sorted data
  3. Specify the path of the original file
  4. If you are creating a new file, specify the path of the file to be created.
  5. Run the VI

 

Additional Information or References
VI Block Diagram

 1.png

 

 

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

 

 

Matt H
Applications Engineer
National Instruments UK

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