Why Is the NI_ChannelLength Property Not Found in My TDMS File?

Updated Jan 25, 2018

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full

Other

LabVIEW 2017 - 32 bit
Windows 7 - 

Issue Details

I have a TDMS file that I want to know the length of without loading it into memory by performing a TDMS Read. I have tried using the TDMS Get Properties function and wired the property names input as NI_ChannelLength. However when I run the function, the Found output returns False. How do I get the channel length of my TDMS file?

Solution

The NI_ChannelLength property of a TDMS file is created and populated during the generation of the TDMS file. If this property was not created and populated during the creation of the TDMS file, the TDMS Get Properties function will return a False for the Found output because the property does not exist. This often happens when the TDMS file was converted from a different file type.

WAS THIS ARTICLE HELPFUL?

Not Helpful