08-01-2011 09:40 AM
While adding some unit tests to one of my classes, I ran across what may be a bug (or simply undocumented behavior) in the TDMS List Contents function.
If the TDMS file has no channel groups, the "group names" output from the TDMS List Contents function returns a one-element array containing an empty string. I would have expected an empty array instead.
Is this the expected behavior of the TDMS List Contents function for an TDMS file with no channel groups?
Mark Moss
Electrical Validation Engineer
GHSP
Solved! Go to Solution.
08-01-2011 09:57 AM
Hi Mark,
Thank you for reporting this bug. It is a bug in LabVIEW 8.6 and we fixed it in LabVIEW 2009. For the workaround, you can just simply delete the first element from the returned array.
Yongqing Ye
NI R&D