LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tdms rename channels

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.

Message 1 of 4
(4,408 Views)

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.

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(4,405 Views)

You can use the "TDMS Set Properties" function to change the channel name by setting 'name' property as a new value.

Capture.PNG

Message 3 of 4
(4,386 Views)

This is old, but the last example does not work. Look up Changing TDMS Channel or Group Names from LabVIEW in the Knowledge baseYou have to use the property name value of NI_UpdateChannelName.

Message 4 of 4
(3,833 Views)