Example Code

Edit Properties in a TDMS File in 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 code allows the user to modify the TDMS properties without using Diadem.

 

Description

This VI uses a Event Structure with a couple of Events: Edit Property Value and Continue (Value Change). When user fires the Edit Property Value (Value Change) a Dialog Box appears. When the user types the new Value it will be modify the original TDMS File using TDMS Set Properties.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Run Test.vi locates in Support Virtual Folder
  2. Run VI
  3. Click on Edit Property Value for changing the shown Property
  4. Click on Continue button to skip the shown Property
    WARNING: This VI will not edit date/time properties properly at this time

 

Additional Information or References

5635.png 

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

Eric B.
National Instruments

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