LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Downsample a very large TDMS file in Labview 8.2

I would like to know how to downsample a large TDMS file (650MB) sampled at 44100Hz to a more manageable 11025Hz or less.  When I try this with the "resample" block, I receive a message that states there is not enough memory to perform the operation- so obviously there needs to be some kind of segmentation of the data file.  I am new to labview, so I would like to keep it as simple as possible.
 
Thanks in advance,
 
TRIJ
0 Kudos
Message 1 of 3
(3,144 Views)

Hi TRIJ,

Thanks for contacting National Instruments.  It looks like to me that you are really trying to break up a TDMS file into smaller chunks.  What I would recommend is using the "TDMS Read" and "TDMS Write" functions in order to read parts of the file and then write those parts to new ones.  On the TDMS Read function, you can specify the "count" and "offset" inputs to read parts of the file and then you can directly write that to a new file using the TDMS Write function.  Try using these functions and see what you can work with.  I hope this helps you out.  Thanks!

Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(3,069 Views)

Thank you, I implemented your suggestion and it worked well.

-Trij

0 Kudos
Message 3 of 3
(3,042 Views)