LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS List Contents Bug/Undocumented Behavior

Solved!
Go to solution

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

0 Kudos
Message 1 of 2
(2,303 Views)
Solution
Accepted by MarkMoss

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

0 Kudos
Message 2 of 2
(2,295 Views)