Virus scan in progress. Please wait to download attachments.
This VI stores the values in a 1D Array as single elements in multple columns in a TDMS File
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.
LabVIEW 2012 (or compatible)
4. Steps to Implement or Execute Code
Run the VI
Select a file name and location
In the file viewer, see that there are the same channel number than elements in the original array and that the elements in each channel correspond to the element in the original array.
5. Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
PBear NI RF
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.