11-30-2010 05:10 AM
Hi all,
For my application, I have to save in a tdms file the values of several variables that change while the vi is running. The tdms write vi is called at specific instances throughout the main vi. I have created one group that contains different channels, one for each variable, so that the values of each variable are placed in one array. The problem is that only one channel is created- the first one- and all the values are written one after the other at this one channel. The only way I have found to create the different channels as I want, is to use for each channel the tdms write vi which makes the code really big.
I would jut like to ask, what I am doing wrong..
Thank you very much!
ps I have attached a screenshot of the routine i use
11-30-2010 08:42 PM
Hi panagiov,
When you using TDMS Write in LabVIEW, if you wire a 1D array as the data input, then TDMS Write will use only the first elements of channel names input as the channel name and create only one channel. In your case, you need to wire a 2D array as the data input.
12-01-2010 02:51 AM
Thanks a lot!