TDMS Delete Data LabVIEW VI Slow For Large TDMS Files

Updated May 3, 2018

Reported In


  • LabVIEW

Issue Details

I am using TDMS Delete Data in my LabVIEW application to delete a channel from my TDMS file. When the TDMS file is quite large, I noticed that execution time is really high and the application hangs at this function.

Is this behaviour expected? Is there any workaround to improve execution speed when deleting channel data from a TDMS file?


The performance problem can be expected and is more related to the file size (big files require more time to be handled in general) and to system performance rather than to the function implementation itself. 

You can improve the application speed when using this function implementing one of the following suggestions:

  • move to a 64-bit Operating System
  • use LabVIEW 64-bit version
  • upgrade your system perfomance (for example, using a Solid-State Drive rather than an HDD)
  • modify your data logging application in order to generate multiple, smaller TDMS files instead of generating big files
  • reconfigure the data acquisition and logging process in order to avoid to acquire unnecessary data that need to be deleted later


Not Helpful