From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a better way to read blocks of data from multi-channels TDMS files?

Starting from example http://decibel.ni.com/content/docs/DOC-10944, I built a simple VI to read a multi-channel TDMS file is blocks (rather than bring the entire time histories in at once). See attached VI. I'm wondering if there is a better way of doing this. In particular, it bothers me that I am not pre-allocating space for the array of waveforms. It's not good programming. I'm not sure how I would do this. I would like anyone's suggestions. Thanks!

0 Kudos
Message 1 of 2
(1,946 Views)

Never mind. I just realized that you can wire a list of channel names to the standard "TDMS Read" block. I thought you could only get one at a time. Duh!

0 Kudos
Message 2 of 2
(1,941 Views)