The TDMS Read has an input for number of samples to read. Perhaps you should read the detailed help documents for the TDMS functions.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5