LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to put time data into a TDMS without adding an extra channel?

Is it possible to put a 2D array of time and data values into one channel instead of two?

 

I noticed that SignalExpress saves both sets of data, but only uses a single channel. I am wondering if this can be done in LabView, and if it can, how would someone go about doing this?

0 Kudos
Message 1 of 3
(2,112 Views)

I believe that Signal express used the Waveform dataype ... where your signal has a known and constant sample rate. 

 

By doing this, you save the start time (t-zero) and the Frequency (freq) of the signal.  Then you don't need to save any additional channels.  The time of every datapoint is known based on these two variables:

 

t = t-zero + (n / freq)

 

http://www.medicollector.com
0 Kudos
Message 2 of 3
(2,105 Views)

Generally, TDMS doesn't support 2D array stored in a TDMS channel in TDMS file format. If you have to, maybe you have to program your own workaround, like to flat the 2D array to 1D and store in TDMS files.

0 Kudos
Message 3 of 3
(2,090 Views)