TDMS Write Each Loop of Data in Separate Columns

Updated Nov 21, 2019

Reported In

Software

  • LabVIEW

Issue Details

I would like to use TDMS functions to log my DAQmx data from one channel. However, for each loop I would like the data to be in a separate column. How can I do this?

Solution

TDMS writes separate columns as channels. In order for each loop to store the data in a separate column, you need to set the loop as the channel by either
  • Wiring the loop counter index to the channel name input of the TDMS Write function
  • Building an array of loop values and wire the build array function into the channel name input of the TDMS Write function

Additional Information

Note: These TDMS channels do not refer to the same channels on the hardware in which you are acquiring data.