From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Read TDMS Properties

Solved!
Go to solution

I have a TDMS file written by a non-LabVIEW program with several custom properties. I have no problem extracting the waveform data. When I look at the file with the built in TDMS File Viewer, all of the embedded TMDS properties (of my "wav_cap" group) show up nicely. When I try to programmatically get the data using "TDMS Get Properties", I get an empty list. Does someone know what might be going on here? I'm using LabVIEW 2020

nkraemer_1-1670377386772.png

 

 

0 Kudos
Message 1 of 4
(748 Views)

Could you please share the TDMS file for us to look at?

 

BTW, if something works in TDMS Viewer in LabVIEW, that means TDMS APIs should be able to get it done (simple as TDMS viewer was build in LabVIEW using the same TDMS APIs that you use in your application)

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(719 Views)

Hello,

I'd guess you need to specify the names of the properties you're interested in.

At least this way works for me (LV 2020), even if our data groups have not a lot of properties...

 

image.png

0 Kudos
Message 3 of 4
(674 Views)
Solution
Accepted by nkraemer

Thanks all for the help.
Looks like this was a problem related to my front panel not updating (see screenshot below). When I probe the output of TDMS get properties, the value shows up as expected, but my front panel indicator never updated to the proper value until I cleanly stopped the VI (I have no idea why). But this means there is no problem with TDMS get properties.

nkraemer_0-1670433253754.png

 

0 Kudos
Message 4 of 4
(653 Views)