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
- 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.