04-26-2012 12:23 PM
Hello all,
I have a tdms file with one group and a lot of channels. I need to use MatLab to process the data. However, the channel names are very long, so I need to shorten them. How do I do that?
Thanks.
04-26-2012 12:26 PM - edited 04-26-2012 12:27 PM
When last I looked TDMS was "Write Once"*.
I suspect you will have to read the TDMS and re-write it as a new file with the shorter names.
LV ships with a TDMS viewer that could serve as the starting point for a nice utility that would read let you edit and save as new.
Just trying to help,
Ben
* yes I know you can reopen and add.
04-26-2012 09:05 PM
You can use the "TDMS Set Properties" function to change the channel name by setting 'name' property as a new value.
01-23-2018 05:01 PM
This is old, but the last example does not work. Look up Changing TDMS Channel or Group Names from LabVIEW in the Knowledge base. You have to use the property name value of NI_UpdateChannelName.