How to Set TDMS File Permission in LabVIEW

Updated Sep 28, 2023



  • LabVIEW

I am using TDMS Defragment function in my application and realize that the file permissions granted for “Users” is removed when using this function. How to set TDMS file permission back in LabVIEW ?

This is the expected behaviour when using TDMS Defragment function. The primary workaround is using the System Exec VI with icacls to re-add those permissions by following the picture below.


"Users" permission have been granted to the TDMS file :