01-03-2018 05:28 AM
Hi all,
I need to remove/delete a custom property from an already existing TDMS file but seems it's not allowed, i've not found any methods to do it.
Someone here know how to fix this issue?
Thanks a lot in advance
01-10-2018 07:36 AM
Hello Gianni68,
Unfortunately Measurement Studio does not provide a way to delete TDMS property.
Are you using only measurement Studio? I think there could be a way to eliminate those property through LabVIEW or Diadem.
01-10-2018 07:53 AM
Hi Lamber_86, you're right there's no way.
I've find out that i can do it using Diadem but i must load whole tdms file to DataPortal and it's not so efficient for big files.
It's crazy that Diadem offer that functionality and TDMS MeasurementStudio library not..
Thank you
11-15-2019 10:04 AM
I'm not sure if it's the same in Measurement Studio, but in LabVIEW, the TDMS Set Properties VI overwrites all of the custom properties when you call it. So, if you had two custom properties, "A" and "B", in a file, call TDMS Get Properties, delete property "B" and its value from the returned arrays, and then call TDMS Set Properties with the modified arrays, containing property "A" and its value, as input arguments. You've effectively performed a delete on just property "B".