Example Code

Write an Array of Clusters to 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

Download All

Overview
This VI shows how to restore values of clusters into TDMS Files.

 

Description
It is fairly common to want to store more complex data, such as an array LabVIEW Clusters, in TDMS files. While there is no built-in VI for this, we can create channels in the file for each data type within the cluster.


Requirements
LabVIEW Base Development System (or compatible)

 

Steps to Implement or Execute Code
1. Search the location of the TDMS file
2. Insert the name of the file
3. Run the VI


Additional Information or References
Snippet.png
**This document has been updated to meet the current required format for the NI Code Exchange.**

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