02-20-2012 11:37 AM
Hi,
is it possible to delete some specified data in a TDMS file? For example: after reading the data with index 0 to 999, I want to delete them to save up resource, and then read index 1000 to 1999 and delete, etc.
I still not figure out how to do it.
Thanks in advance for all your answers.
P.S.: I have tried to look in the other threads but cannot found what I need.
02-20-2012 11:46 AM
Delete the data means you want to delete the data permenantly from the file? If so just read the data and delete the unwanted portion and save the rest of the portion to the same file overwriting it. Is this what you wanted?
02-20-2012 11:57 AM
@P Anand wrote:
just read the data and delete the unwanted portion and save the rest of the portion to the same file overwriting it.
How can you delete the unwanted portion?
Do you mean using NI Diadem to read and delete the data, or programming it?
02-20-2012 08:35 PM
Since I haven't played much with TDMS I made a quick look into the Examples there you have TDMS Reading and also overwriting the file just take a look I guess it would be useful.
02-22-2012 03:33 AM
To add information to the post of P Anand:
you'll find an example in:
LabVIEW -> Help -> Find Examples...
Than search for TDMS
There you'll find the example: TDMS Advanced - Overwrite.vi
Maybe this can help you. Please let me now if you found a solution.