To download NI software, including the products shown below, visit ni.com/downloads.
1. Overview:
This VI stores the values in a 1D Array as single elements in multple columns in a TDMS File
2. Description:
When writing to a TDMS file, the TDMS VIs automatically log data grouped in channels according to the rows of a 2-D array. If attempting to write a 1-D array of data representing multiple channels, a conversion is required. This VI takes a 1-D array, builds a single row 2-D array and then transposes it, getting a multiple rows 1 column 2D Array. Then, this array is written in the TDMS file with each element of the original array corresponds to a single data-point in a new channel.
3. Requirements
4. Steps to Implement or Execute Code
5. Additional Information or References
VI Snippet
**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.
Wouldn't this be more memory efficient if you put the 1D array into a single input build array and a transpose 2D array instead of indexing the loop outputs.
Feel free to improve upon it!
This works great but I am having trouble writing this TDMS file out to a spreadsheet. What is the trick ?