12-11-2018 03:22 AM
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
12-12-2018 09:13 AM
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?