Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Internal name of a TDMS file's channel

Hello,

 

I've just got TDMS files, that do not contain "name" property for their channels.

So .Name and .GetProperty("name") methods return either empty string or null respectively.

 

While reading the files using Excel Add-In some channel names are shown though. It seems like channels have some kind of internal name, that excel add-in has an access to.

How can I get this field using c# library?

 

Regards,

Alexander

 

0 Kudos
Message 1 of 2
(2,465 Views)

Are you using a TDMS 1.0 file? There have been issues with how channel names were stored and handled in that format. In TDMS 2.0 files, the name behavior was aligned so that it should work properly. Can you convert your file to the 2.0 version format and try again using the .Name method? 

Francine P.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,441 Views)